VCOM:VectorWorks:IFCLib:IIFCSupport::IFC GetEntityColor: Difference between revisions
Jump to navigation
Jump to search
NBeshevliev (talk | contribs) No edit summary |
NBeshevliev (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
Member of [[VCOM:VectorWorks:IFCLib:IIFCSupport|IIFCSupport]] | Member of [[VCOM:VectorWorks:IFCLib:IIFCSupport|IIFCSupport]] | ||
Gets the color for an IfcEntity. | |||
</desc> | </desc> | ||
Line 25: | Line 25: | ||
strIfcName | strIfcName | ||
TXString | TXString | ||
IfcEntity name. | |||
</line> | </line> | ||
<line> | <line> | ||
red | red | ||
short | short | ||
Out parameter. Red value. | |||
</line> | </line> | ||
<line> | <line> | ||
green | green | ||
short | short | ||
Out parameter. Green value. | |||
</line> | </line> | ||
<line> | <line> | ||
blue | blue | ||
short | short | ||
Out parameter. Blue value. | |||
</line> | </line> | ||
<line> | <line> | ||
transparent | transparent | ||
short | short | ||
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 08: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.