VCOM:VectorWorks:IFCLib:IIFCSupport::IFC GetPsetInfoAt: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 45: | Line 45: | ||
outType | outType | ||
short | short | ||
Returns the index that defines the state of the Pset. Possible values are: <b>-2</b> (pset forbidden from mapping, NOT attached in record), <b>-1</b> (pset forbidden from mapping, but attached in record), <b>0</b> (pset NOT attached), <b>1</b> (pset attached from record), <b>2</b> (pset attached from mapping) | Returns the index that defines the state of the Pset. Possible values are: <b>-2</b> (pset forbidden from mapping, NOT attached in record), <b>-1</b> (pset forbidden from mapping, but attached in record), <b>0</b> (pset NOT attached), <b>1</b> (pset attached from record), <b>2</b> (pset attached from mapping). | ||
</line> | </line> | ||
</lineList> | </lineList> |
Latest revision as of 11:22, 3 August 2018
.SDK|SDK ..SDK:Types|SDK Types ..VCOM:VCOM (Vectorworks Component Object Model)|VCOM Basics ..VCOM:Class Reference|VCOM Class Reference
Description
namespace VectorWorks::IFCLib
Member of IIFCSupport
Returns the property set name, if it is attached and where from (mapping or record).
VCOMError IFC_GetPsetInfoAt(
MCObjectHandle hObject,
bool bAllPsets,
short index,
TXString& outIfcPsetName,
short& outType);
Parameters
hObject MCObjectHandle Handle to object. bAllPsets bool Boolean that defines whether customPsets are to be checked. index short Index that defines the pset position. outIfcPsetName TXString Returns the property set name outType short Returns the index that defines the state of the Pset. Possible values are: -2 (pset forbidden from mapping, NOT attached in record), -1 (pset forbidden from mapping, but attached in record), 0 (pset NOT attached), 1 (pset attached from record), 2 (pset attached from mapping).
Return Value
Uses standard VCOM Error Reporting.
Return value meaning:
kVCOMError_NoError The function succeeded. No Error! kVCOMError_Failed Routine failed.
Remarks
Use this function via global pointer gIFC.
Version
Available from: Vectorworks 2018.