Jump to content
Developer Wiki and Function Reference Links ×

parametric/record info of object


Hippocode

Recommended Posts

How can you load this information with sdk ?

I only have an objecthandle.

VWObject FrameHd;

FrameHd=gSDK->FirstMemberObj(DLHd);

I noticed that in this class I can get various data, but nowhere does it point to the parametric records or any others attached.

Edited by hippothamus
Link to comment
  • Vectorworks, Inc Employee

Records are Aux Objects so you would have to traverse the aux list.

Not the actual code but should get you going in the right place.

I haven't tried it but this is the general idea and where I would start.

VWRecordObj bob = gSDK->FindAuxObject(theObject,kRecordNode);

If Not gSDK->IsPluginFormat(bob) then bob = gSDK->NextAuxObject(theObject,kRecordNode);

Once you have the handle to the record you can traverse the record to get the fields and data.

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