+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 24
  1. #1
    Full Member sandiegophil's Avatar
    Computer Details
    sandiegophil's Computer Details
    Operating System:
    Windows 7 64bit
    Computer:
    HP z600
    RAM:
    16gb
    Graphics:
    nvidia quadro fx 4800 1gb
    Using
    Civil 3D 2012
    Join Date
    Feb 2009
    Location
    San Diego, CA
    Posts
    80

    Default Generate list of all styles and settings

    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

  2. #2
    Senior Member Emigrato's Avatar
    Using
    not applicable
    Join Date
    Sep 2011
    Posts
    116

    Default

    Without exporting styles&settings, try to _COPYBASE everything from your project drawing, and _PASTEORIG in an empty .DWG based on your template.


  3. #3
    Full Member sandiegophil's Avatar
    Computer Details
    sandiegophil's Computer Details
    Operating System:
    Windows 7 64bit
    Computer:
    HP z600
    RAM:
    16gb
    Graphics:
    nvidia quadro fx 4800 1gb
    Using
    Civil 3D 2012
    Join Date
    Feb 2009
    Location
    San Diego, CA
    Posts
    80

    Default

    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

  4. #4
    Full Member caddcop's Avatar
    Computer Details
    caddcop's Computer Details
    Operating System:
    WinXP
    Computer:
    Lenovo ThinkPad Laptop - Dual Screens on Docking Station
    Monitor:
    Dell and Viewsonic 22' Widescreens
    Discipline
    Civil
    caddcop's Discipline Details
    Occupation
    CADD Manager - Civil/Survey
    Discipline
    Civil
    Details
    Working with Land Desktop 2008 and 2009, Civil 3D 2009, 2010, 2011, 2012 & 2013
    Using
    Land Desktop 2009
    Join Date
    Sep 2009
    Location
    Maryland (DC Suburbs)
    Posts
    94

    Default

    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.

  5. #5
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    3,952

    Default

    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

  6. #6
    Full Member sandiegophil's Avatar
    Computer Details
    sandiegophil's Computer Details
    Operating System:
    Windows 7 64bit
    Computer:
    HP z600
    RAM:
    16gb
    Graphics:
    nvidia quadro fx 4800 1gb
    Using
    Civil 3D 2012
    Join Date
    Feb 2009
    Location
    San Diego, CA
    Posts
    80

    Default

    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

  7. #7
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    3,952

    Default

    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

  8. #8
    Full Member sandiegophil's Avatar
    Computer Details
    sandiegophil's Computer Details
    Operating System:
    Windows 7 64bit
    Computer:
    HP z600
    RAM:
    16gb
    Graphics:
    nvidia quadro fx 4800 1gb
    Using
    Civil 3D 2012
    Join Date
    Feb 2009
    Location
    San Diego, CA
    Posts
    80

    Default

    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

  9. #9
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    3,952

    Default

    Quote Originally Posted by sandiegophil View Post
    ... I don't write code and am not familiar with what direction you provided.
    Ah, yes - of course... I'll see what I can throw together quickly (in pieces?), and post back.
    "Potential has a shelf life." - Margaret Atwood

  10. #10
    Full Member caddcop's Avatar
    Computer Details
    caddcop's Computer Details
    Operating System:
    WinXP
    Computer:
    Lenovo ThinkPad Laptop - Dual Screens on Docking Station
    Monitor:
    Dell and Viewsonic 22' Widescreens
    Discipline
    Civil
    caddcop's Discipline Details
    Occupation
    CADD Manager - Civil/Survey
    Discipline
    Civil
    Details
    Working with Land Desktop 2008 and 2009, Civil 3D 2009, 2010, 2011, 2012 & 2013
    Using
    Land Desktop 2009
    Join Date
    Sep 2009
    Location
    Maryland (DC Suburbs)
    Posts
    94

    Default

    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.

Similar Threads

  1. generate part-list/order-list in autocad 2011LT
    By Borken in forum AutoCAD Beginners' Area
    Replies: 7
    Last Post: 12th Jul 2012, 09:39 am
  2. How do I generate a scene object list
    By I AM CHUPA in forum CAD Management
    Replies: 1
    Last Post: 15th Jul 2011, 04:57 pm
  3. Noob Need Help - Can generate Bill of Materials List?
    By MrRee in forum AutoCAD Beginners' Area
    Replies: 6
    Last Post: 20th Jul 2009, 11:28 am
  4. Replies: 0
    Last Post: 15th Nov 2006, 06:10 pm
  5. Generate a drawing from a list of coordinates
    By braedan51 in forum AutoLISP, Visual LISP & DCL
    Replies: 1
    Last Post: 15th Jul 2006, 09:41 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts