Jump to content
Kars Keizer

Functions not in Function Reference (it is)

Recommended Posts

I found an script i wanted to use as an example for making my own Plug In Objects.

This link is where i found the script:

https://developer.vectorworks.net/index.php/Python_Sample_Point_Object_(complex)

 

i installed the script and it is working but when i opened the script to see how it is working i noticed some functions which are not in the Function Reference
https://developer.vectorworks.net/index.php/VS:Function_Reference

 

Can someone tell me more about this? for example where i can find an description and parameters of these?

 

the functions:

vs.kObjXPropHasUIOverride   = 8
vs.kObjXHasCustomWidgetVisibilities = 12

vs.kParametricRecalculate   = 3
vs.kObjOnInitXProperties    = 5
vs.kObjOnWidgetPrep         = 41
vs.kObjOnObjectUIButtonHit  = 35

vs.kObjectEventHandled      = -8

 

Edited by Kars Keizer

Share this post


Link to post

Nevermind.

 

I see the scripts is setting variables using vs. in the variable name. this confused me.

 

the overall function is "VS:SetObjPropVS"  and the int. set to the variables are the parameters for this function

 

learning constantly, this script is using OOP if I'm correct

Edited by Kars Keizer

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.


 

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...