Creates and accesses product occurrence PRC entities. More...
Data Structures | |
struct | A3DAsmAttachmentsInfosSLW |
A structure specifying assembly attachments infos specific to Solidworks format. More... | |
struct | A3DAsmLayer |
A structure describing a layer. More... | |
struct | A3DAsmProductOccurrenceData |
A structure specifying product occurrence data. More... | |
struct | A3DAsmProductOccurrenceDataCat |
A structure specifying product occurrence data specific to Catia format. More... | |
struct | A3DAsmProductOccurrenceDataCV5 |
A structure specifying product occurrence data specific to CV5 format. More... | |
struct | A3DAsmProductOccurrenceDataInv |
A structure specifying product occurrence data specific to Inventor format. More... | |
struct | A3DAsmProductOccurrenceDataJT |
A structure specifying product occurrence data specific to JT format. More... | |
struct | A3DAsmProductOccurrenceDataProe |
A structure specifying product occurrence data specific to CV5 format. More... | |
struct | A3DAsmProductOccurrenceDataSLW |
A structure specifying product occurrence data specific to Solidworks format. More... | |
struct | A3DAsmProductOccurrenceDataUg |
A structure specifying product occurrence data specific to Ug format. More... | |
struct | A3DElementsByRefsetUg |
A structure specifying a List of Elements Ids associated to a refset, for Ug Format. More... | |
struct | A3DMaterialAndVisualisationInfos |
A structure to store material, visibility, suppressed, etc... informations, to put on other product occurence. Used for Assemblies / Views that modify those informations. It will be applied during shattered post-treatment. More... | |
struct | A3DPromotedBodyUg |
A structure specifying Promoted Bodies Ids for Ug Format. More... | |
struct | A3DViewMaterialAndVisualisationInfos |
A structure to store a list of MaterialAndVisualisationInfos, applied by a view. Used for a View that modify those informations. It will be applied during shattered post-treatment. More... | |
Modules | |
Bit field flag definitions for product occurrences | |
Part Definition | |
Filter Module | |
Creates and accesses filter entities that control the entities and layers included in the 3D image. | |
Mechanism | |
Enumerations | |
enum | A3DEProductLoadStatus { kA3DProductLoadStatusUnknown = 0, kA3DProductLoadStatusError, kA3DProductLoadStatusNotLoaded, kA3DProductLoadStatusNotLoadable, kA3DProductLoadStatusLoaded } |
Load status of the PRC model file. More... | |
enum | A3DEProductOccurrenceTypeInv |
A structure specifying The type of Productoccurence, for Inventor. More... | |
enum | A3DEProductOccurrenceTypeSLW |
Product Occurrence Type in Solidworks. More... | |
Detailed Description
Creates and accesses product occurrence PRC entities.
A product occurrence denotes an assembly tree. If the assembly tree contains a single part, the product occurrence points directly to a part definition. In the case of a more complex assembly tree, a product occurrence is a hierarchy of child product occurrences. And a product occurrence can reference product occurrences that are designated as ProductPrototypes or ExternalData. Such ProductOccurrences denote subassembly structures, which in turn can point to PartDefinitions.
Entity type is kA3DTypeAsmProductOccurrence.
Enumeration Type Documentation
Load status of the PRC model file.
- Version
- 2.1
A structure specifying The type of Productoccurence, for Inventor.
- Version
- 8.2
Product Occurrence Type in Solidworks.
- Version
- 8.2
Function Documentation
A3DStatus A3DAsmProductOccurrenceGet | ( | const A3DAsmProductOccurrence * | pProductOccurrence, |
A3DAsmProductOccurrenceData * | pData | ||
) |
Populates the A3DAsmProductOccurrenceData structure.
- Version
- 2.0
- Sample code
- A3DInt32 iErr = A3D_SUCCESS;A3DAsmProductOccurrence pOccurrence = NULL;/* Should call something here in order to get a valid A3DAsmProductOccurrence */A3DAsmProductOccurrenceData sData;A3D_INITIALIZE_DATA(sData);iErr = A3DAsmProductOccurrenceGet( pOccurrence , &sData );if ( iErr == A3D_SUCCESS ){/* Insert here your own code to parse through members of ProductOccurrence */iErr = A3DAsmProductOccurrenceGet( NULL, &sData );}
A3DStatus A3DAsmProductOccurrenceCreate | ( | const A3DAsmProductOccurrenceData * | pData, |
A3DAsmProductOccurrence ** | ppProductOccurrence | ||
) |
Creates an A3DAsmProductOccurrence from A3DAsmProductOccurrenceData structure.
- Version
- 2.0
A3DStatus A3DAsmProductOccurrenceSetProductPrototype | ( | A3DAsmProductOccurrence * | pProductOccurrence, |
A3DAsmProductOccurrence * | pProductPrototype | ||
) |
Sets up an A3DAsmProductOccurrence entity as a prototype to another A3DAsmProductOccurrence entity.
- Version
- 2.0
This function sets an A3DAsmProductOccurrence entity as a prototype to another A3DAsmProductOccurrence entity, and duplicates the A3DAsmProductOccurrenceData structure.
A3DStatus A3DAsmProductOccurrenceUnload | ( | A3DAsmProductOccurrence * | pProductOccurrence | ) |
Removes all tessellation and geometry of an A3DAsmProductOccurrence entity.
- Deprecated:
- Use A3DAsmModelFileUnloadParts
- Version
- 3.1
A3DStatus A3DAsmProductOccurrenceGetFilePathName | ( | const A3DAsmProductOccurrence * | pProductOccurrence, |
A3DUTF8Char ** | ppcFileName | ||
) |
Returns the full path name of the file associated with the product occurrence. Warning: Using this function on a product occurrence holding a prototype is not recommended, as the result is influenced by how the data is originally stored in the CAD file.
- Version
- 4.0
A3DStatus A3DAsmProductOccurrenceGetOriginalFilePathName | ( | const A3DAsmProductOccurrence * | pProductOccurrence, |
A3DUTF8Char ** | ppcFileName | ||
) |
Returns the original file name stored in the CAD file. Warning: Using this function on a product occurrence holding a prototype is not recommended, as the result is influenced by how the data is originally stored in the CAD file.
- Version
- 8.2
A3DStatus A3DAsmProductOccurrenceAddView | ( | A3DAsmProductOccurrence * | pProductOccurrence, |
A3DMkpView * | pView | ||
) |
Adds a view in the Array of views.
- Version
- 4.1
A3DStatus A3DAsmProductOccurrenceEdit | ( | const A3DAsmProductOccurrenceData * | pData, |
A3DAsmProductOccurrence * | pProductOccurrence | ||
) |
Allows to modify some data of a product occurrence.
- Version
- 5.1
A3DStatus A3DAsmProductOccurrenceDeepCopy | ( | const A3DAsmProductOccurrence * | pProductOccurrence, |
A3DAsmProductOccurrence ** | ppNewProductOccurrence | ||
) |
Creates a new product occurrence by making a deep copy of the data.
- The Copy can be processed on a member of an assembly at different levels. Here an assembly sample and the several copied product added.
- The prototype mechanism is still present after the copy to assure the possibility to distinguish instances.
- After the deep clone, only last prototype is necessary,
- A/B1/C1/D1 -> B/C1/D1 -> C/D1 -> D Becomes Copy A/B1/C1/D1 + intermediate properties -> Copy D
- Version
- 11.2
A3DStatus A3DAsmProductOccurrenceGetSLW | ( | const A3DAsmProductOccurrence * | pProductOccurrence, |
A3DAsmProductOccurrenceDataSLW * | pData | ||
) |
Populates the A3DAsmProductOccurrenceDataSLW structure.
- Version
- 8.2
A3DStatus A3DAsmProductOccurrenceGetCat | ( | const A3DAsmProductOccurrence * | pProductOccurrence, |
A3DAsmProductOccurrenceDataCat * | pData | ||
) |
Populates the A3DAsmProductOccurrenceDataCat structure.
- Version
- 8.2
A3DStatus A3DAsmProductOccurrenceGetCV5 | ( | const A3DAsmProductOccurrence * | pProductOccurrence, |
A3DAsmProductOccurrenceDataCV5 * | pData | ||
) |
Populates the A3DAsmProductOccurrenceDataCV5 structure.
- Version
- 8.2
A3DStatus A3DAsmProductOccurrenceGetUg | ( | const A3DAsmProductOccurrence * | pProductOccurrence, |
A3DAsmProductOccurrenceDataUg * | pData | ||
) |
Populates the A3DAsmProductOccurrenceDataUg structure.
- Version
- 8.2
A3DStatus A3DAsmProductOccurrenceGetProe | ( | const A3DAsmProductOccurrence * | pProductOccurrence, |
A3DAsmProductOccurrenceDataProe * | pData | ||
) |
Populates the A3DAsmProductOccurrenceDataProe structure.
- Version
- 8.2
A3DStatus A3DAsmProductOccurrenceGetInv | ( | const A3DAsmProductOccurrence * | pProductOccurrence, |
A3DAsmProductOccurrenceDataInv * | pData | ||
) |
Populates the A3DAsmProductOccurrenceDataInv structure.
- Version
- 8.2
A3DStatus A3DAsmProductOccurrenceGetJT | ( | const A3DAsmProductOccurrence * | pProductOccurrence, |
A3DAsmProductOccurrenceDataJT * | pData | ||
) |
Populates the A3DAsmProductOccurrenceDataJT structure.
- Version
- 8.2
A3DStatus A3DAsmProductOccurrenceGetLayerList | ( | const A3DAsmProductOccurrence * | pProductOccurrence, |
A3DUns32 * | piLayers, | ||
A3DAsmLayer ** | ppLayerArray | ||
) |
Allow to get the layer name of an item from his layer defined by A3DMiscCascadedAttributesData::m_usLayer.
- Version
- 11.1
A3DStatus A3DAsmProductOccurrenceGetIdentifier | ( | const A3DAsmProductOccurrence * | pProductOccurrence, |
A3DUTF8Char ** | ppcIdentifier | ||
) |
Combine Part ID and Occurrence identifier.
- Version
- 9.1