Returns the handle to a specified record attached the referenced object.
FUNCTION GetRecord(
h : HANDLE;
cnt : INTEGER): HANDLE;def vs.GetRecord(h, cnt):
return HANDLE| Name | Type | Description |
|---|---|---|
| h | HANDLE | Handle to object. |
| cnt | INTEGER | Index of attached record (in a range of 1 - n). |
[[User:CBM-c-|c]], 2015.02.24: Please note that since the introduction of ifc data, the usual praxis of fetching plug-in records using GetRecord(h, NumRecords(h)) can bring you perhaps unexpectedly the ifc record. Use [[VS:GetParametricRecord]] instead, introduced from VW 2011.
==== VectorScript ====
handleToRecord := GetRecord(handleToObject,3);==== Python ====
handleToRecord = vs.GetRecord(handleToObject,3)Availability: from All Versions
- Database @ Record