VCOM:VectorWorks:IFCLib:IIFCSupport::IFC GetSpaceParamForObject2

From Vectorworks Developer
Revision as of 07:11, 27 August 2018 by KGoranov (Talk | contribs)

Jump to: navigation, search

.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 on of three paramters of a space object (Space name/Space Type/Space Number) in which the specified object is confined or adjoined.

VCOMError IFC_GetSpaceParamForObject2(
MCObjectHandle hObject,
const TXString& param,
TXString& outResult);

Parameters

hObject MCObjectHandle Handle to object.
param TXString Index that determines the return parameter for the space object. The Possible values are: 1 (Space Type), 2 (Space Name) and 3 (Space Number).
outResult TXString The return value of the parameter.

Return Value

Uses standard VCOM Error Reporting.

Return value meaning:

kVCOMError_NoError The function succeeded. No Error!
kVCOMError_Failed Routine failed.

Remarks

Please note that if the object is not situated in a space object the routine is going to fail.

Please note that if the object is situated in more than one space objects and the parameters in more that one of them return a value, they will be listed consecutively separated by a coma (',').


Use this function via global pointer gIFC.

Version

Available from: Vectorworks 2018.
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox