I try to add a new dimension style to a draft document.
If I try to read the Parent like:
Value = objDimStyleDFT.Parent.ToString
I get the following Error:
Please help me
Solved! Go to Solution.
don't use the Parent property (which should be the DraftDocument object, and is not definder at this time, because the new Style is not existing before creation...)
Use the name of an existing Styles in the list of DimensionStyles.
Is is used as a template for your new style (like in the user interface) and you only have to modify the properties that are different.
Thanks a lot
I search for a Parent like the Parent in the API. (Draft or something else)
So simple it can be.
Her we say: You can't see the forest in the mass of trees.