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
|
||||
@@ -79,17 +79,17 @@ static A3DVoid sttraverseMiscConstraintLinkedItem(const A3DMiscConstraintLinkedI
|
||||
|
||||
traverseSource(pConstraintLinkedItem, xml);
|
||||
|
||||
A3DInt32 iRet = A3DMiscConstraintLinkedItemGet(pConstraintLinkedItem, &sData);
|
||||
A3DStatus iRet = A3DMiscConstraintLinkedItemGet(pConstraintLinkedItem, &sData);
|
||||
if (iRet == A3D_SUCCESS)
|
||||
{
|
||||
traverseEntityReference((A3DMiscEntityReference*)pConstraintLinkedItem, xml);
|
||||
sttraverseConstraintLinkedItemType(sData.m_eType, xml);
|
||||
if (sData.m_pTargetProductOccurrence != NULL)
|
||||
_SetAttributePtr(xml, "m_pTargetProductOccurrence", (void*)sData.m_pTargetProductOccurrence);
|
||||
setAttributePtr("m_pTargetProductOccurrence", sData.m_pTargetProductOccurrence, xml);
|
||||
A3DMiscConstraintLinkedItemGet(NULL, &sData);
|
||||
}
|
||||
else
|
||||
xml->SetAttribute("error", iRet);
|
||||
xml->SetAttribute("error", A3DMiscGetErrorMsg(iRet));
|
||||
|
||||
xmlfather->LinkEndChild(xml);
|
||||
}
|
||||
@@ -142,7 +142,7 @@ static void sttraverseAdditionalData(A3DGenericTypeFieldData & sFielData, _TiXml
|
||||
}
|
||||
|
||||
//######################################################################################################################
|
||||
int traverseConstraint(const A3DAsmConstraint* pAsmConstraint, _TiXmlElement* xmlfather)
|
||||
A3DStatus traverseConstraint(const A3DAsmConstraint* pAsmConstraint, _TiXmlElement* xmlfather)
|
||||
{
|
||||
_TiXmlElement* xml = new _TiXmlElement("A3DAsmConstraint");
|
||||
sttraverseSetNameAttribute(pAsmConstraint, xml);
|
||||
|
||||
Reference in New Issue
Block a user