AutoCAD Civil 3D Customization

AutoCAD Civil 3D Customization

Reply
*Expert Elite*
Jeff_M
Posts: 4,310
Registered: ‎07-22-2003
Message 1 of 3 (335 Views)

Is there any help for the XML challenged?

335 Views, 2 Replies
06-13-2010 07:39 AM

I look at XML and for some unexplained reason, my brain turns to mush. I have read all the things I've found on creating a ATC & PKT files for custom assemblies, but I have yet to be able to create one because once the brain is mush nothing gets done.

 

Would it be too difficult to write a program which creates these for you? So all you have to do is point it to the sub's DLL, fill out a form with the input params, press a button, and BAM there's your ATC & PKT all created for you?

 

OK, maybe that's asking for too much...how about a step by step walkthrough, starting with "So, you have a custom subassembly DLL, now what?"

 

Time for more coffee to unmushify this poor old brain. Thanks!

 

C3D 2010 & 2011, VS2008 C# & VB.NET Express, Vista Ultimate 64-bit

Jeff_M, also a frequent Swamper
Employee
nzeeben
Posts: 92
Registered: ‎09-22-2008
Message 2 of 3 (308 Views)

Re: Is there any help for the XML challenged?

06-17-2010 05:10 AM in reply to: Jeff_M

Jeff,

 

You could likely write some kind of parser that generates the atc file directly from the source code of the subassembly if you were so inclined.  Is there something in particular that is turning your brain to mush?  Our atc files that we ship with the product are a little difficult to read because of the resource numbers as opposed to actual strings embedded in them from the resource file.

 

If you have some specific questions I will provide any answers I have.

*Expert Elite*
Sinc
Posts: 6,207
Registered: ‎11-18-2006
Message 3 of 3 (299 Views)

Re: Is there any help for the XML challenged?

06-17-2010 04:21 PM in reply to: nzeeben

I have to agree with Jeff that the ATC files are nasty.

 

Not only are they a royal pain to create, they need to duplicate info from the code.  I've created plenty of them, but they are easily the most distasteful part of subassembly creation.

 

About the only thing that approaches them in annoyance is any attempt to customize one of the stock subassemblies, and then create an altered Help file for the new subassembly.  The existing Help files are mangled, so they can't be used as a starting point, and the entire Help file must be recreated from scratch.

Sinc
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.