Without exporting styles&settings, try to _COPYBASE everything from your project drawing, and _PASTEORIG in an empty .DWG based on your template.
![]()
Registered forum members do not see this ad.
Hello all,
I am trying to find a way to export all existing styles and their settings from my template file to a format like txt, word, excel etc. Has anyone found a successful way to accomplish this without using hundreds of print-screens? Any and all help is greatly appreciated.
Regards,
Phil
p.s. It would also be great to include all of the settings from the tabs in the "Drawing Setting" window.
![]()
Last edited by sandiegophil; 3rd Sep 2012 at 01:17 am. Reason: major point missing from post
Without exporting styles&settings, try to _COPYBASE everything from your project drawing, and _PASTEORIG in an empty .DWG based on your template.
![]()
Emigrato,
Thanks very much for your reply. It seems I was not very clear about one aspect of my question/request. I am looking to export the data to an editable/printable format. Something like a txt file, excel format etc.
Best regards,
Phil
This link is for a utility that allows export and import of settings between 2010 and 2011.
http://www.inmotioncon.com/software/imC3DStgs.aspx
The file it creates is actually a zip file - even though the extension is not zip.
In the file are some DWG's of blocks, text styles, dimension styles and layers (this is from memory, so it might be a little different.) Finally, there are two xml files - even though only one has an XML extension.
In the one with the non-xml extension, are all of the settings. The issue of reading these into excel is that excel can read XML files, but only pieces at a tie and the way it reads them is not 100% conducive to your goals. I have created style sheets that can process XML files into html pages and am trying to do the same with this file, but so far it has not worked.
I have also communicated with the programmer who developed this tool. He is no longer with the company but is in negotiations with them to continue the development as a joint product with his new firm. I am still on my 30 day free trial so I do not know if they are even honoring new sales at this time. But with it only being for 2010 and 2011, I an reluctant to continue pursuing a purchase if it becomes an obsolete tool.
FWIW -
To the topic of Importing and Exporting Civil 3D Styles... This post may be helpful, depending on what version you have, and uses the built-in ImportStylesAndSettings Command.
As for exporting the Styles and Settings to file... While you can access the Style Property Object for some AECC* Objects (i.e., (vlax-dump-object (vlax-get <AlignmentObject> 'style) T) ), I've not looked into accessing the Styles Collection Object itself. If possible through Visual LISP (COM API) this post may be of use, otherwise, you'll need to look to .NET API.
"Potential has a shelf life." - Margaret Atwood
caddcop and RenderMan,
Thank you both for the very helpful information. I am in the position that any "pay" items would come out of my pocket based on the procurement process where I work. If you happen across anything similar, please let me know.
Regards,
Phil
Phil, what I suggested will not cost you any money....
You simply need to dig through the AeccXUiLand.AeccApplication*, AeccXUiPipe.AeccPipeApplication*, AeccXUiRoadway.AeccRoadwayApplication*, and AeccXUiSurvey.AeccSurveyApplication* [External] Objects for the information you're after.
** Just be sure to properly use vlax-Release-Object when done (or if an *error* occurs) so as to not cause undesired behavior.![]()
"Potential has a shelf life." - Margaret Atwood
RenderMan,
I'm sure your suggestion would provide the information however I don't write code and am not familiar with what direction you provided.
Thanks,
Phil
Registered forum members do not see this ad.
They offer a 30 day free trial with no credit card or other hooks. You only enter a company name and email and it works for 30 days - more than enough time to extract a lot of template data.
On the other hand, when you look at the data in an XML or text editor, you may be overwhelmed with the volume of information.
Bookmarks