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?
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?
Your code misses retrieving a geom object from a study object:
geom_object = sobject.GetObject()
...MakeRotation( geom_object,..,..)
St.Michael
Powered by
Ploneboard
- History
-
Activate by millim on Jun 04, 2012 11:30 PM
