How to access a scoped geometric entity in Spaceclaim wizard?
Options
![Ayush Kumar](https://us.v-cdn.net/6037473/uploads/userpics/RGJ3E8O4WFAG/n98CYBYJ7H6ZS.jpg)
Ayush Kumar
Member, Moderator, Employee Posts: 419
![Ansys Employee](https://us.v-cdn.net/6037473/uploads/badges/RVRDV39KPJ91.png)
![Solution Developer Community of Practice Member](https://us.v-cdn.net/6037473/uploads/badges/274G8C56SBE6.png)
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