Hide menu
Building Unity Examples

Table of Contents

Unity examples are located in the subfolder examples/csharp/Unity.

Building with Unity Editor

To build the examples, follow these steps:

  1. Copy the license key file you received for your evaluation program into the following folders: ${install_dir}/examples/csharp/Unity/Assets/Scripts and
    ${install_dir}/examples/csharp/Unity/Assets/Scripts/Editor.
    When you become a customer you will substitute it with a commercial license key.
  2. Put the following libraries to ${install_dir}/examples/csharp/Unity/Assets/Binaries folder:
    • ./csharp/win64/CadExUnity.dll
    • ./csharp/win64/CadExCoreNet.dll
    • ./csharp/win64/CadExA3DSNet.dll
    • ./csharp/win64/CadExACISNet.dll
    • ./csharp/win64/CadExBRepNet.dll
    • ./csharp/win64/CadExCATNet.dll
    • ./csharp/win64/CadExColladaNet.dll
    • ./csharp/win64/CadExCreoNet.dll
    • ./csharp/win64/CadExDWGNet.dll
    • ./csharp/win64/CadExDXFNet.dll
    • ./csharp/win64/CadExFBXNet.dll
    • ./csharp/win64/CadExGLTFNet.dll
    • ./csharp/win64/CadExIFCNet.dll
    • ./csharp/win64/CadExIGESNet.dll
    • ./csharp/win64/CadExJTNet.dll
    • ./csharp/win64/CadExMeshNet.dll
    • ./csharp/win64/CadExNXNet.dll
    • ./csharp/win64/CadExOBJNet.dll
    • ./csharp/win64/CadExParaNet.dll
    • ./csharp/win64/CadExRhinoNet.dll
    • ./csharp/win64/CadExSLDNet.dll
    • ./csharp/win64/CadExSTEPNet.dll
    • ./csharp/win64/CadExSTLNet.dll
    • ./csharp/win64/CadExU3DNet.dll
    • ./csharp/win64/CadExVRMLNet.dll
    • ./csharp/win64/CadExX3DNet.dll
    • ./csharp/win64/CadExX3MFNet.dll
    • ./win64/vc14.1/bin/CadExCore.dll
    • ./win64/vc14.1/bin/CadExA3DS.dll
    • ./win64/vc14.1/bin/CadExACIS.dll
    • ./win64/vc14.1/bin/CadExBRep.dll
    • ./win64/vc14.1/bin/CadExCAT.dll
    • ./win64/vc14.1/bin/CadExCollada.dll
    • ./win64/vc14.1/bin/CadExCreo.dll
    • ./win64/vc14.1/bin/CadExDWG.dll
    • ./win64/vc14.1/bin/CadExDXF.dll
    • ./win64/vc14.1/bin/CadExFBX.dll
    • ./win64/vc14.1/bin/CadExGLTF.dll
    • ./win64/vc14.1/bin/CadExIFC.dll
    • ./win64/vc14.1/bin/CadExIGES.dll
    • ./win64/vc14.1/bin/CadExJT.dll
    • ./win64/vc14.1/bin/CadExMesh.dll
    • ./win64/vc14.1/bin/CadExNX.dll
    • ./win64/vc14.1/bin/CadExOBJ.dll
    • ./win64/vc14.1/bin/CadExPara.dll
    • ./win64/vc14.1/bin/CadExRhino.dll
    • ./win64/vc14.1/bin/CadExSLD.dll
    • ./win64/vc14.1/bin/CadExSTEP.dll
    • ./win64/vc14.1/bin/CadExSTL.dll
    • ./win64/vc14.1/bin/CadExU3D.dll
    • ./win64/vc14.1/bin/CadExVRML.dll
    • ./win64/vc14.1/bin/CadExX3D.dll
    • ./win64/vc14.1/bin/CadExX3MF.dll
    • ./win64/vc14.1/bin/geom.dll
    • ./win64/vc14.1/bin/tbb.dll
    • ./win64/vc14.1/bin/tbbmalloc.dll
  3. Go to the Assets/Scenes folder and double-click on <Example>.unity file. The example will be built automatically.
Note
For your convenience, you can run copy_dll.bat located in the ${install_dir}/examples/csharp/Unity folder.