Click or drag to resize

DXFReaderNETControlTryGetIfcProduct Method

Reads IFC identity stored on an entity imported by ReadIFC(String, Boolean, Int32).

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.12.2
Syntax
public static bool TryGetIfcProduct(
	EntityObject entity,
	out string globalId,
	out string ifcType,
	out string name,
	out string objectType
)

Parameters

entity
Type: DXFReaderNET.EntitiesEntityObject
The entity whose IFC extended data is read.
globalId
Type: SystemString
When this method returns, the IFC GlobalId (IfcGloballyUniqueId), or an empty string if not stored.
ifcType
Type: SystemString
When this method returns, the IFC class name (IFCWALL, IFCSLAB, …), or an empty string if not stored.
name
Type: SystemString
When this method returns, the IFC Name of the product, or an empty string if not stored.
objectType
Type: SystemString
When this method returns, the IFC ObjectType of the product, or an empty string if not stored.

Return Value

Type: Boolean
True if the entity has IFC extended data.
See Also