Jump to content
Sign in to follow this  
ahedley

vs.UnDoOff , vs.Redraw, vs.DselectAll

Recommended Posts

Hello,

Does anybody know if the functions; vs.UnDoOff , vs.Redraw, vs.DselectAll work in python and if so how do they work?

Adrian

Share this post


Link to post

These should all work. Don't forget that in Python, you need to pass empty arguments to run a command:

vs.DSelectAll()

Otherwise, you are just stating a reference to the function definition.

Also, Python is case sensitive. In your examples, the capitalization doesn't match the function reference.

HTH,

Josh

Share this post


Link to post

Well that was embarrassing. I was trying to convert an old test script to python and just assumed the function was spelt correctly, I just added vs. to beginning of function. My fault though for not checking the function reference properly.

Changed the spelling and things are working okay.

Thanks Josh,

Adrian

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

 

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.

×
×
  • Create New...