Jump to content

dhughes3

Member
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About dhughes3

  • Rank
    Greenhorn

Personal Information

  • Location
    United Kingdom

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. dhughes3

    Create New Document

    Thanks for the tips, it's a shame about the lack of file manipulation functions - but not the end of the world. Putting the script in the template and running it from there is the approach I have gone with, just thought it would have been nice for the script to handle the file creation and saved a couple of clicks (lazy I know!) One other question though - the script selects objects on an imported layer and copy & pastes them to a different layer. I want to paste it in the middle of the "page" as the template contains viewports targeted at this layer. When it was manual I'd just click in the middle and then paste. The closest I've got so far with scripting is DoMenuTextByName('Fit To Window',0); DoMenuTextByName('Paste',0); and it works mostly but every now and then it pastes off centre. Is there a better way to do it?
  2. dhughes3

    Create New Document

    Hi. I'm trying to create a script that imports a dwg file and reformats it - I've got the script working but wondered if there is any way to create a new document based on a template at the beginning of the script as that is the only manual step left?

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×