Only 1/4 of the model is calculated. How to display the full model with scripts?
Feng Zhu
Member Posts: 5
**
I can manually follow the Settings below to display the full model, these operations are not recorded, how can I script these operations?
Tagged:
0
Best Answer
-
Hi
Think these are internalobjects (might and might not always work) - see here say how to set first num. repeats (1) as 2:
model = ExtAPI.DataModel.Project.Model sym=model.AddSymmetry() sym.InternalObject.ExpansionNumRepeat_1=2 sym.InternalObject.ExpansionDelX_1=0.4 sym.InternalObject.ExpansionMethod_1 = 1 # 1 for half 0 for full
etc.
use dir(sym.InternalObject) to see all properties/methods etc.Thank you
Erik
1
Answers
-
Hi, Erik, thanks for your quick response.
1