Personal tools
You are here: Home Forum Other... (new forum, problems, etc.) How to access a Geom object from the object browser and rotate it by 90 degree TUI?

How to access a Geom object from the object browser and rotate it by 90 degree TUI?

Up to Other... (new forum, problems, etc.)

How to access a Geom object from the object browser and rotate it by 90 degree TUI?

Posted by millim at June 04. 2012

He,

I want to access the objects listed in the object browser and rotate it by 90 degree?

sobject = salome.myStudy.FindObject("MyObject")

...MakeRotation( sobject,..,..)

returns an error?

thx

Re: How to access a Geom object from the object browser and rotate it by 90 degree TUI?

Posted by Saint Michael at June 05. 2012

Your code misses retrieving a geom object from a study object:

geom_object = sobject.GetObject()

...MakeRotation( geom_object,..,..)

St.Michael

Quick reply
URLs will be automatically hyperlinked. Basic HTML tags are OK.
Powered by Ploneboard
History
Activate by millim on Jun 04, 2012 11:30 PM
Document Actions