Difference between revisions of "VCOM:VectorWorks:IFCLib:IIFCSupport::IFC GetEntityColor"

From Vectorworks Developer
Jump to: navigation, search
m
Line 9: Line 9:
 
Member of [[VCOM:VectorWorks:IFCLib:IIFCSupport|IIFCSupport]]
 
Member of [[VCOM:VectorWorks:IFCLib:IIFCSupport|IIFCSupport]]
  
Gets the color for an IfcEntity.
+
Gets the color for an IFC entity.
 
</desc>
 
</desc>
  

Revision as of 07:16, 13 July 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

Gets the color for an IFC entity.

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

Parameters

strIfcName TXString IfcEntity 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