3D PLM PPR Hub Open Gateway |
File XPDM (PX1) |
Reading Product Structure PropertiesHow to use CATIxPDMItem |
Use Case |
AbstractThis article shows how to read all the properties of a Product model. |
You will learn how to use the CATIXPDMItem interface and the
LoadItemInSession
method of the
CATxPDMSessionServices class.
[Top]
CAAxPDMReadItemInfo is a use case of the CAAxPDMInterfaces.edu framework that illustrates CATxPDMInterfaces framework capabilities. Be careful, such as all use cases illustrating the CATxPDMInterfaces framework, the current one requires a PX1 licence.
[Top]
The use case takes in argument a document path. Here are the traces
generated for the Product4.CATProduct document located in the
InputData of the CAAxPDMInterfaces.edu
framework.
... The CAAxPDMReadItemInfo main program begins .... A session is created --j:\bsf\CAAxPDMInterfaces.edu\InputData\SendTo\Product4.CATProduct DisplayName:Product4.CATProduct Type :CATProduct Version : |
[Top]
To launch CAAxPDMReadItemInfo, you will need to set up the build time environment, then compile CAAxPDMReadItemInfo along with its prerequisites, set up the run time environment, and then execute the use case [1]. To launch it, execute the following command:
mkrun -c "CAAxPDMReadItemInfo FileName"
where Filenamei
is the complete path of a file.
[Top]
The CAAxPDMReadItemInfo use case is made of one single file, the CAAxPDMReadItemInfo.cpp file, located in the CAAxPDMReadItemInfo.m module of the CAAxPDMInterfaces.edu framework:
Windows | InstallRootDirectory\CAAxPDMInterfaces.edu\CAAxPDMReadItemInfo.m\ |
Unix | InstallRootDirectory/CAAxPDMInterfaces.edu/CAAxPDMReadItemInfo.m/ |
where InstallRootDirectory
is the directory where the CAA
CD-ROM is installed.
[Top]
[Top]
[Top]
[1] | Building and Launching a CAA V5 Use Case |
[Top] |
Version: 1 [Feb 2006] | Document created |
[Top] |
Copyright © 2005, Dassault Systèmes. All rights reserved.