2025.6.1
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/***********************************************************************************************************************
|
||||
*
|
||||
* Copyright (c) 2010 - 2022 by Tech Soft 3D, Inc.
|
||||
* Copyright (c) 2010 - 2025 by Tech Soft 3D, Inc.
|
||||
* The information contained herein is confidential and proprietary to Tech Soft 3D, Inc., and considered a trade secret
|
||||
* as defined under civil and criminal statutes. Tech Soft 3D shall pursue its civil and criminal remedies in the event
|
||||
* of unauthorized use or misappropriation of its trade secrets. Use of this information by anyone other than authorized
|
||||
@@ -18,7 +18,7 @@ void sttraverseIFCRootEntity(A3DBIMRoot* pRoot, _TiXmlElement* element)
|
||||
{
|
||||
A3DBIMRootData sData;
|
||||
A3D_INITIALIZE_DATA(A3DBIMRootData, sData);
|
||||
A3DInt32 iRet = A3DBIMRootGet(pRoot, &sData);
|
||||
A3DStatus iRet = A3DBIMRootGet(pRoot, &sData);
|
||||
_TiXmlElement* root = new _TiXmlElement(sData.m_pcIfcClassName ? sData.m_pcIfcClassName : "Element");
|
||||
element->LinkEndChild(root);
|
||||
|
||||
@@ -202,6 +202,23 @@ int dumpRelationships(const A3DBIMData* pBimData, _TiXmlElement* model)
|
||||
bim->SetAttribute(attribName, "error");
|
||||
}
|
||||
}
|
||||
else if (eType == kA3DTypeBIMRelAssignsToGroup)
|
||||
{
|
||||
A3DBIMRelAssignsToGroupData sRelData;
|
||||
A3D_INITIALIZE_DATA(A3DBIMRelAssignsToGroupData, sRelData);
|
||||
if (A3DBIMRelAssignsToGroupGet(sBIMData.m_ppRelationships[ui], &sRelData) == A3D_SUCCESS)
|
||||
{
|
||||
_TiXmlElement* rel = new _TiXmlElement("A3DBIMRelAssignsToGroupData");
|
||||
bim->LinkEndChild(rel);
|
||||
dumpRelationship(sRelData.m_pRelating, sRelData.m_uiRelatedElementSize, sRelData.m_ppRelatedElements, rel);
|
||||
A3DBIMRelAssignsToGroupGet(nullptr, &sRelData);
|
||||
}
|
||||
else
|
||||
{
|
||||
sprintf(attribName, "kA3DTypeBIMRelAssignsToGroup_%d", ui);
|
||||
bim->SetAttribute(attribName, "error");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
bim->SetAttribute("Ifc_relationship", "error: new type");
|
||||
|
||||
Reference in New Issue
Block a user