Hi,
I am trying to add a circular cross section in mechanical via the scripting interface.
I can add one using either commands if there is already the "Cross Sections" folder:
cs = Model.CrossSections.AddCircularCrossSection()
cs = ExtAPI.DataModel.Project.Model.CrossSections.AddCircularCrossSection()
If I try to run it when the CrossSections folder doesn't exist I have the following error message:
'NoneType' object has no attribute 'AddCircularCrossSection'
What am I missing?