Jump to content
Sign in to follow this  
Hippocode

parametric/record info of object

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

Share this post


Link to post

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.

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