HI everyone.
I’m trying to transform example from Civil 3D Developer’s Guide in C#(Civil 3D Developer's Guide):
SettingsCmdCreateAlignmentLayout alignLayoutCmdSettings = doc.Settings.GetSettings();
ed.WriteMessage(@"Alignment Layout Command settings: AlignmentType: {0} ",
alignLayoutCmdSettings.AlignmentTypeOption.AlignmentType.Value
);
to Python script
but i have issue:
Traceback (most recent call last):
- File “”, line 29, in *
AttributeError: ‘bool’ object has no attribute ‘AlignmentTypeOption’
Why?