Jump to content

Enter Profile Group of PIO


Recommended Posts

If you have a PIO that has something in the profile group, you can enter that group using:

 

DoMenuTextByName('Group Navigation Chunk', 1);

 

That produces an error if called from within the PIO however , which is probably not surprising. Does anyone know of a way to jump into the profile group from say a button click in the OIP?

 

Thanks.

Link to comment

Hi Julian

 

I have only tested this with the SDK but this is the equivalent function in VS.

https://developer.vectorworks.net/index.php/VS:EditObjectSpecial

 

The kObjXPropSpecialEditEditGroup constant should get you into the profile group. I'm calling this from a button widget on the OIP.

const TObjSpecialEdit kObjXPropSpecialEditDefault = 0;
const TObjSpecialEdit kObjXPropSpecialEditCustom = 1;
const TObjSpecialEdit kObjXPropSpecialEditProperties = 2;
const TObjSpecialEdit kObjXPropSpecialEditReshape = 3;
const TObjSpecialEdit kObjXPropSpecialEditEditGroup = 4;
const TObjSpecialEdit kObjXPropSpecialEditSpecial = 5;

 

  • Like 1
Link to comment

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.

×
×
  • Create New...