AutoCAD Civil 3D
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
SAC-Enumer ation_Exam ple
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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
AutoCAD Expert Elite
AutoCAD Civil 3D 2013 Certified Professional
C3D 2013 (SP1)
C3D 2014 (Testing)
Win 7 Pro, 64-bit
Solved! Go to Solution.
Re: SAC-Enumer ation_Exam ple
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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)
Co-author of "Mastering AutoCAD Civil 3D 2013"
AutoCAD Civil 3D 2013 Certified Professional and AutoCAD 2013 Certified Professional
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®
Re: SAC-Enumer ation_Exam ple
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Great,
NOW I know what I'm looking for I found it in the help files.
Thanks
AutoCAD Expert Elite
AutoCAD Civil 3D 2013 Certified Professional
C3D 2013 (SP1)
C3D 2014 (Testing)
Win 7 Pro, 64-bit
Re: SAC-Enumer ation_Exam ple
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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
AutoCAD Expert Elite
AutoCAD Civil 3D 2013 Certified Professional
C3D 2013 (SP1)
C3D 2014 (Testing)
Win 7 Pro, 64-bit
Re: SAC-Enumer ation_Exam ple
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Never mind, found it. It was an issue with the original code:
AutoCAD Expert Elite
AutoCAD Civil 3D 2013 Certified Professional
C3D 2013 (SP1)
C3D 2014 (Testing)
Win 7 Pro, 64-bit
