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

From Vectorworks Developer
Jump to: navigation, search
Line 9: Line 9:
 
Member of [[VCOM:VectorWorks:IFCLib:IIFCSupport|IIFCSupport]]
 
Member of [[VCOM:VectorWorks:IFCLib:IIFCSupport|IIFCSupport]]
  
...put some description here...
+
Gets the color for an IfcEntity.
 
</desc>
 
</desc>
  
Line 25: Line 25:
 
strIfcName
 
strIfcName
 
TXString
 
TXString
no info.
+
IfcEntity name.
 
</line>
 
</line>
 
<line>
 
<line>
 
red
 
red
 
short
 
short
no info.
+
Out parameter. Red value.
 
</line>
 
</line>
 
<line>
 
<line>
 
green
 
green
 
short
 
short
no info.
+
Out parameter. Green value.
 
</line>
 
</line>
 
<line>
 
<line>
 
blue
 
blue
 
short
 
short
no info.
+
Out parameter. Blue value.
 
</line>
 
</line>
 
<line>
 
<line>
 
transparent
 
transparent
 
short
 
short
no info.
+
Out parameter. Possible values: 1 - tranparent, 0 - opaque.
 
</line>
 
</line>
 
</lineList>
 
</lineList>
Line 81: Line 81:
 
-----------------------------------------------------------------------------------------------------------
 
-----------------------------------------------------------------------------------------------------------
 
<version>
 
<version>
Available from:  
+
Available from: Vectorworks 12.
 
</version>
 
</version>
  

Revision as of 04:26, 6 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 IfcEntity.

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