ahedley Posted December 22, 2015 Share Posted December 22, 2015 Hello, Does anybody know if the functions; vs.UnDoOff , vs.Redraw, vs.DselectAll work in python and if so how do they work? Adrian Quote Link to comment
JBenghiat Posted December 22, 2015 Share Posted December 22, 2015 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 Quote Link to comment
ahedley Posted December 22, 2015 Author Share Posted December 22, 2015 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 Quote Link to comment
Recommended Posts
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.