I tried to use the EnumerationExample in Civil 3D. It keeps giving me this error:
Type: ErrorDate: 8/22/2011Time: 2:28:11 PMSource: RoadwayUser: JunkDrawerDescription: [FooterWidth (Double): 302 : Value cannot be null.Parameter name: ItemName] (Source: Subassembly.EnumerationExampleEnumerationExample - (27))
Is this error message particular to my computer or are others experiencing it also?
Christopher
To get this to work one has to convert the enumeration to a string value and then use the string value in the switch. When converting the enumeration to a string use something like this:
BarrierString
If(Barrier=A,"A",If(Barrier=B,"B",If(Barrier=C,"C",If(Barrier=D,"D","D"))))
It's an extra step, but it gets it to work.
Christopher