Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SAC-Enumeration_Example

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
klugb
551 Views, 4 Replies

SAC-Enumeration_Example

All,

I was looking through the "Enumeration_Example" file and want to create a similar one but wasn't sure how they setup an input parameter.

 

How did they set the Barrier type to "BarrierType"?

 

Also does the list for default Value come from the switch? It's A,B,C or D in the example, but I tried to switch it to 1,2 or 3 after the switch without luck.

 

Thanks

Bruce Klug, P.E.
AutoCAD Expert Elite Alumni
AutoCAD Civil 3D Certified Professional
Civil 3D 2023.2.1

Win 10 Enterprise, 64-bit
4 REPLIES 4
Message 2 of 5
KMercier_C3D
in reply to: klugb

The BarrierType was defined by going to the View menu and selecting Define Enumeration. There you can create the Enumeration Group (ex. BarrierType) and the Enumeration Items (ex. A, B, C, D)



Kati Mercier, P.E. | LinkedIn | AutoCAD Civil 3D Certified Professional
Pronouns: She/Her
Co-author of "Mastering AutoCAD Civil 3D 2013"
AU2019 Speaker::: CES321590: Analyze and Revise Existing Subassembly Composer PKT Files for AutoCAD Civil 3D
AU2017 Speaker::: CI125544: Analyze and Devise in Subassembly Composer
AU2012 Speaker::: CI3001: Reverse Engineering with Subassembly Composer for AutoCAD Civil 3D
AU2011 Speaker::: CI4252: Create Subassemblies That Think Outside the Box With Subassembly Composer for AutoCAD® Civil 3D®

Message 3 of 5
klugb
in reply to: KMercier_C3D

Great,

 NOW I know what I'm looking for I found it in the help files.

 

Thanks

 

Bruce Klug, P.E.
AutoCAD Expert Elite Alumni
AutoCAD Civil 3D Certified Professional
Civil 3D 2023.2.1

Win 10 Enterprise, 64-bit
Message 4 of 5
klugb
in reply to: KMercier_C3D

Ok, now I have a different issue.

 

I have been getting errors with my version of the subassembly that I built from the example. I went back and tried the original one and still get the same errors so it's either my computer or the code has always had an issue.

 

Have you (or anyone else watching) used the "Enumeration_Example.pkt" downloaded from Autodesk?

 

I get " [FooterWidth (Double): 301 : Value cannot be null." error message.

 

Thanks

 

Bruce Klug, P.E.
AutoCAD Expert Elite Alumni
AutoCAD Civil 3D Certified Professional
Civil 3D 2023.2.1

Win 10 Enterprise, 64-bit
Message 5 of 5
klugb
in reply to: klugb

Never mind, found it. It was an issue with the original code:

 

http://forums.autodesk.com/t5/forums/forumtopicprintpage/board-id/66/message-id/158355/print-single-...

Bruce Klug, P.E.
AutoCAD Expert Elite Alumni
AutoCAD Civil 3D Certified Professional
Civil 3D 2023.2.1

Win 10 Enterprise, 64-bit

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report