This is in the Civil 3D COM interface but I thought I'd ask here:
If the description key point style is set to "<default>"
(AeccPointDescriptionKey.PointStyle Is Nothing) = True
If it is not Nothing and you want to set the style back to "<default>" then this will give an error.
AeccPointDescriptionKey.PointStyle = Nothing
Wondering what the correct procedure is for this.
Same question for PointLabelStyle
Thanks.
Solved! Go to Solution.
Solved by Jeff_M. Go to Solution.
This is similar to this question which was never answered:
These are two of the options I've tried:
oPntDesKey.PointStyle = VariantType.Null
oPntDesKey.PointStyle = Nothing
For this I'm compiling for 2013+, I previously compiled for 2011+, but when I started this code I don't think there was a .NET interface for Point Description Key Sets which I see now.
No such luck for the figure prefix database as far as I can see. Writing / debugging with "As Object" is annoying so that will be a bonus.
Thanks Jeff.
Interop:
Autodesk.AECC.Interop.UiLand.IAeccDocument.PointDescriptionKeySets
.NET:
Autodesk.Civil.DatabaseServices.PointDescriptionKeySet
Autodesk.Civil.DatabaseServices.PointDescriptionKeySetCollection