This commit is contained in:
ninja
2025-12-15 23:22:33 +08:00
parent 019570564b
commit 8782765fbc
809 changed files with 118753 additions and 18289 deletions

View File

@@ -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
@@ -76,17 +76,17 @@ static A3DVoid sttraverseFRMFeatureLinkedItem(const A3DFRMLinkedItem* pFeatureLi
traverseSource(pFeatureLinkedItem, xml);
A3DInt32 iRet = A3DFRMLinkedItemGet(pFeatureLinkedItem, &sData);
A3DStatus iRet = A3DFRMLinkedItemGet(pFeatureLinkedItem, &sData);
if (iRet == A3D_SUCCESS)
{
traverseEntityReference((A3DMiscEntityReference*)pFeatureLinkedItem, xml);
xml->SetAttribute("m_eType", sData.m_eType);
if (sData.m_pTargetProductOccurrence != NULL)
_SetAttributePtr(xml, "m_pTargetProductOccurrence", (void*)sData.m_pTargetProductOccurrence);
setAttributePtr("m_pTargetProductOccurrence", sData.m_pTargetProductOccurrence, xml);
A3DFRMLinkedItemGet(NULL, &sData);
}
else
xml->SetAttribute("error", iRet);
xml->SetAttribute("error", A3DMiscGetErrorMsg(iRet));
xmlfather->LinkEndChild(xml);
}
@@ -97,6 +97,7 @@ static A3DVoid sttraverseFRMFeature(const A3DFRMFeature* pFeature, _TiXmlElement
{
_TiXmlElement* xml = new _TiXmlElement("A3DFRMFeature");
setAttributePRC2XMLID(pFeature, xml);
sttraverseSetNameAttribute(pFeature, xml);
xmlfather->LinkEndChild(xml);