All Frameworks  Object Hierarchy  This Framework  Indexes   

MaterialManager (Object)

Interface to manage material manager object.
Role: A material manager is used to manage materials application on geometrical objects.

Method Index

ApplyMaterialOnBody
Apply a Material on a Body.
ApplyMaterialOnHybridBody
Apply a Material on a Hybrid Body.
ApplyMaterialOnPart
Apply a Material on a Part.
ApplyMaterialOnProduct
Apply a Material on a Product.
ApplyMaterialOnUserMaterial
Apply a Material on a User Material (Analysis entity).
GetMaterialOnBody
Get a Material on a Body.
GetMaterialOnHybridBody
Get a Material on a Hybrid Body.
GetMaterialOnPart
Get a Material on a Part.
GetMaterialOnProduct
Get a Material on a Product.
GetMaterialOnUserMaterial
Get a Material on a User Material (Analysis entity).
ReplaceMaterialLinks
In current session, replace all links towards a material 1 with a link towards an other material 2.

Methods


o Sub ApplyMaterialOnBody( iBody,
iMaterial,
iLinkMode)
Apply a Material on a Body. If Material is NULL, deletes the material already applied on the Body
o Sub ApplyMaterialOnHybridBody( iHybridBody,
iMaterial,
iLinkMode)
Apply a Material on a Hybrid Body. If Material is NULL, deletes the material already applied on the Hybrid Body
o Sub ApplyMaterialOnPart( iPart,
iMaterial,
iLinkMode)
Apply a Material on a Part. If Material is NULL, deletes the material already applied on the Part
o Sub ApplyMaterialOnProduct( iProduct,
iMaterial,
iLinkMode)
Apply a Material on a Product. If Material is NULL, deletes the material already applied on the Product
o Sub ApplyMaterialOnUserMaterial( iUserMaterial,
iMaterial,
iLinkMode)
Apply a Material on a User Material (Analysis entity). Warning: iUserMaterial should be a CATIAAnalysisEntity object. If Material is NULL, deletes the material already applied on the User Material
o Sub GetMaterialOnBody( iBody,
oMaterial)
Get a Material on a Body. Material returned is NULL if no material is applied on the Body
o Sub GetMaterialOnHybridBody( iHybridBody,
oMaterial)
Get a Material on a Hybrid Body. Material returned is NULL if no material is applied on the Hybrid Body
o Sub GetMaterialOnPart( iPart,
oMaterial)
Get a Material on a Part. Material returned is NULL if no material is applied on the Part
o Sub GetMaterialOnProduct( iProduct,
oMaterial)
Get a Material on a Product. Material returned is NULL if no material is applied on the Product
o Sub GetMaterialOnUserMaterial( iUserMaterial,
oMaterial)
Get a Material on a User Material (Analysis entity). Warning: iUserMaterial should be a CATIAAnalysisEntity object. Material returned is NULL if no material is applied on the User Material
o Sub ReplaceMaterialLinks( iMaterial1,
iMaterial2)
In current session, replace all links towards a material 1 with a link towards an other material 2. N.B. Both materials entered should be in a material library.

Copyright © 2003, Dassault Systèmes. All rights reserved.