VCOM:VectorWorks:IFCLib:IIFCSupport::IFC GetEntityColor

From Vectorworks Developer
Revision as of 07:16, 13 July 2018 by Sasha (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

Gets the color for an IFC entity.

VCOMError IFC_GetEntityColor(
const TXString& strIfcName,
short& red,
short& green,
short& blue,
short& transparent);

Parameters

strIfcName TXString IFC Entity name.
red short Out parameter. Red value.
green short Out parameter. Green value.
blue short Out parameter. Blue value.
transparent short Out parameter. Possible values: 1 - tranparent, 0 - opaque.

Return Value

Uses standard VCOM Error Reporting.

Return value meaning:

kVCOMError_NotInitialized Bad VCOM instance used to call the fuction.
kVCOMError_Failed Routine failed.

Version

Available from: Vectorworks 12.
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox