How to access a scoped geometric entity in Spaceclaim wizard?
Ayush Kumar
Member, Moderator, Employee Posts: 452
✭✭✭✭
Answers
-
Use a
<onvalidate>
callback on the property which scopes the geometric entity. Theonvalidate
function call should make the selected list of entities global.<property name="faces" caption="geom" control="scoping"> <callbacks> <onvalidate>call_on_val</onvalidate> </callbacks> </property>
def call_on_val(object, property): global faces faces = Selection.GetActive().Items return True
0