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
@@ -17,6 +17,7 @@ This file demonstrates how to programmatically set the mechanism of the cascaded
#define INITIALIZE_A3D_API
#include <A3DSDKIncludes.h>
#include <hoops_license.h>
#include "../common.hpp"
@@ -178,7 +179,7 @@ static A3DStatus stParseFace(
const A3DTopoFace* pFace,
const A3DMiscCascadedAttributes* pFatherAttr)
{
PrintLogMessage("Face level\n");
PrintConstLogMessage("Face level\n");
A3DMiscCascadedAttributes* pAttr;
A3DMiscCascadedAttributesData sAttrData;
@@ -192,7 +193,7 @@ static A3DStatus stParseFace(
*/
static A3DStatus stParseShell(const A3DTopoShell* pShell, const A3DMiscCascadedAttributes* pFatherAttr)
{
PrintLogMessage("Shell level\n");
PrintConstLogMessage("Shell level\n");
A3DMiscCascadedAttributes* pAttr;
A3DMiscCascadedAttributesData sAttrData;
@@ -217,7 +218,7 @@ static A3DStatus stParseConnex(
const A3DTopoConnex* pConnex,
const A3DMiscCascadedAttributes* pFatherAttr)
{
PrintLogMessage("Connex level\n");
PrintConstLogMessage("Connex level\n");
A3DMiscCascadedAttributes* pAttr;
A3DMiscCascadedAttributesData sAttrData;
@@ -243,7 +244,7 @@ static A3DStatus stParseRepresentationItem(
const A3DRiRepresentationItem* pRepItem,
const A3DMiscCascadedAttributes* pFatherAttr)
{
PrintLogMessage("Representation item level\n");
PrintConstLogMessage("Representation item level\n");
A3DMiscCascadedAttributes* pAttr;
A3DMiscCascadedAttributesData sAttrData;
@@ -283,7 +284,7 @@ static A3DStatus stParsePartDefinition(
const A3DAsmPartDefinition* pPart,
const A3DMiscCascadedAttributes* pFatherAttr)
{
PrintLogMessage("Part definition level\n");
PrintConstLogMessage("Part definition level\n");
A3DMiscCascadedAttributes* pAttr;
A3DMiscCascadedAttributesData sAttrData;
@@ -346,7 +347,7 @@ static A3DStatus stParseProductOccurrence(
const A3DAsmProductOccurrence* pOccurrence,
const A3DMiscCascadedAttributes* pFatherAttr)
{
PrintLogMessage("Product Occurrence level\n");
PrintConstLogMessage("Product Occurrence level\n");
A3DMiscCascadedAttributes* pAttr;
A3DMiscCascadedAttributesData sAttrData;
@@ -432,7 +433,7 @@ int main(A3DInt32 iArgc, A3DUTF8Char** ppcArgv)
// ### INITIALIZE HOOPS EXCHANGE
//
A3DSDKHOOPSExchangeLoader sHoopsExchangeLoader(_T(HOOPS_BINARY_DIRECTORY));
A3DSDKHOOPSExchangeLoader sHoopsExchangeLoader(_T(HOOPS_BINARY_DIRECTORY), HOOPS_LICENSE);
CHECK_RET(sHoopsExchangeLoader.m_eSDKStatus);
CHECK_RET(A3DDllSetCallbacksMemory(CheckMalloc, CheckFree));