Jump to content
Developer Wiki and Function Reference Links Read more... ×
Sign in to follow this  
Gabe RC

GetRField equivalent in SDK

Recommended Posts


I'm wondering if there is an equivalent to the vectorscript function "GetRField" in the C++ sdk. I would like to access the values of specific records inside a PIO.


Share this post

Link to post

Looks like VWFC::VWObjects::VWRecordObj has some methods for this, like GetParamValue(). Check VWRecordObj.h ... I couldn't find anything on the developer wiki.

How you get a VWRecordObj given a handle to an arbitrary object is a little fuzzy to me.

Share this post

Link to post


the VWFC classes are wrappers on top of the SDK. Unfortunately, not very well documented.

The VWObjects namespace contains objects that are designed as wrappers of MCObjectHandle. Every class has two different constructors:

1. wrapping - the one that accepts MCObjectHandle

2. creating - the all others (they create a new object)

For the VWRecordObj you can just create instance like this:

VWRecordObj rec( hRecord );

Note that for parametric objects, it's much easier to use VWParametricObj, it directly allows you to access the parameters.

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
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.