Deploy CATIA V5
Materials in 3DEXPERIENCE
through Graphical Tool
You can deploy CATIA V5
materials in 3DEXPERIENCE by
adding the required files in the CATIA V5 material
exposition dialog box.
-
In the Command prompt window, execute the batch file
CATIAV5MaterialExpositionIn3DEXPERIENCE.bat available in the
xcadconnectors folder.
File path:
\win_b64\code\command\CATIAV5MaterialExpositionIn3DEXPERIENCE.bat
A CATIA V5
Material Exposition dialog box is displayed.
-
In the CATIA V5 Material Exposition dialog box, click
Add.
A File explorer window opens.
-
From the File explorer window, select the required
documents.
Notes:
If any of the selected documents are already available in the list, a
message appears.
- Optional:
To modify the output directory for the report file of a batch execution, click
Change the output directory
and browse
to the required folder using the file explorer that appears. This updates the report
directory path for the current batch parameters.
Note:
Output directory for the report is set in the Output
Report Directory text editor.
-
Click Apply to execute the import.
A
3DEXPERIENCE dialog box is displayed.
-
Log in to 3DEXPERIENCE platform using 3DPassport
and select the appropriate collaborative space and responsibility.
Notes:
- If the execution succeeds, a success message appears. You can open the report
file.
- If the execution fails, a failure message appears.
- If the filepath in Output Report Directory is not
editable, a message appears.
- If the files selected do not exist, a message appears.
- Optional:
To get more information on exposing CATIA V5
material in 3DEXPERIENCE, click
.
-
Click Yes to open the detailed report.
Notes:
- Click Remove to remove the required files from the list.
- Click Clear to remove all the files from the list.
- You can end the operation by clicking Cancel or clicking
.
- If you exceed the file limit, a message appears.
- If the graphical tool fails to open the report file generated by the exposition
batch, a message appears.
Deploy CATIA V5
Materials in 3DEXPERIENCE
through Command Line
You can deploy CATIA V5
materials in 3DEXPERIENCE by
locally executing the ENOV5MABatchExposeCATMaterial file.
-
Log in to 3DEXPERIENCE platform using 3DPassport
and select the appropriate collaborative space and responsibility.
-
In the Command prompt window, execute the batch file
ENOV5MABatchExposeCATMaterial available in the
xcadconnectors folder by specifying the environment, the
CATMaterial file, and the 3DSpace
server URL.
For example: <CATSTART.exe path> -run ENOV5MABatchExposeCATMaterial.exe
-env <Env> -direnv <DirEnv> -object "-files=\"<filepath1|filepath2...>\"
-Url=<3DSpaceUrl> -MyAppsURL=<MyAppsURL> -tenant=<tenant>". Replace
the brackets with specific file paths, environment names, or urls.
- A XCADResource containing the uploaded CATMaterial file is
created.
- A deployment report is generated in <CATTemp>\ENOV5MA\Material
directory.
Recommendation:
Do not perform any lifecycle operations such as revise,
duplicate etc. on the XCADResource objects.
Access 3DEXPERIENCE
Materials from CATIA V5
-
Go to .
-
In the Save area, select Add Apply Material option
in save panel.
- Apply Material on 3DEXPERIENCE option becomes available in
3DEXPERIENCE Save panel.
- Previously deployed CATMaterial files are downloaded in
[3DEXPERIENCE V5 Cache]\Resource, when you connect to 3DEXPERIENCE platform.
-
Go to .
-
In the Document Environments, select 3DEXPERIENCE
Resource and click Allowed.
When you apply material to a part or a product, deployed materials are readily
available in Library. Note:
You cannot lock, unlock, or change the
maturity of such material from CATIA V5.
Use 3DEXPERIENCE
Materials in CATIA V5
-
Select the part to which you want to apply the material, and click
.
Recommendation:
Do not apply material on CATIA V5
product reference or on CATIA V5
part instance.
The material applied on or inside the part must be on the root node or on the part
body.
-
In the Library panel, click
to browse
the CATMaterial file you deployed earlier.
-
In the Browse panel, click 3DEXPERIENCE
Resource and select a file from File Selection.
Selected CATMaterial file opens in read-only
mode.
-
Select the material and click OK.
Recommendation:
Select the Link to file option to map
the selected material as a linked object, so that it gets updated automatically to
reflect any changes to the original material in the library.
-
From the top bar, select .
-
Select the Apply Material on 3DEXPERIENCE option and click
OK.
Note:
- This option is not selected by default.
- A warning message is displayed, if you select this option while saving a
geometry linked to a CATMaterial that is not managed as a
XCADResource .
- Deployed material cannot be included in the save scope. They are managed
independently. For more information, see Deploy CATIA V5 Materials in 3DEXPERIENCE through Command Line.
-
To monitor the progress of the apply material job created on the server, use:
- Optional:
You can delete the downloaded deployed files from the local cache by selecting
3DEXPERIENCE Resource in the Folder and
selecting the file. For more information, see Managing Local Files.
However, this does not impact the deployed resources on the server side. They are
still available as a deployed resource on 3DEXPERIENCE platform and are downloaded again, when you connect to the 3DEXPERIENCE platform, if you marked 3DEXPERIENCE Resource as allowed in . CATMaterial File is permanently deleted, only if
the corresponding XCADResource object is also deleted.
Result:
|