CATStrUseItf Interface CATIStrUseMaterialMngt

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIStrUseMaterialMngt

Interface to manage material of the SFD Panel, Plate and Profile Role: Interface to manage Structure Functional Modeler functions material.
The material and grade are stored as one string that is the alias of the Material feature used in the UI. This attribute is a string for scalability reasons. It could have a been a problem to be integrated in the Measure toolbar but since SFD objects are surfacic anyway, the weight cannot be computed. Feature implementing this interface: SFD Functions(Plate and Profile), SFD Panel.


Method Index


o GetMaterial(CATUnicodeString&)
Get the material and grade as a string on this function.
o SetMaterial(CATUnicodeString&)
Set the material and grade as a string on this function.
o SetMaterialReference(CATBaseUnknown*)
Sets a material using a material reference.

Methods


o GetMaterial
public virtual GetMaterial( oMaterialName)
Get the material and grade as a string on this function.
Parameters:
oMaterialName
Material name.
o SetMaterial
public virtual SetMaterial( const iMaterialName)
Set the material and grade as a string on this function.
Parameters:
iMaterialName
Material name.
o SetMaterialReference
public virtual SetMaterialReference( const iMaterialReference)
Sets a material using a material reference.
Parameters:
iMaterialReference
Material reference. Should adhere to CATIMaterialReference.

This object is included in the file: CATIStrUseMaterialMngt.h
If needed, your Imakefile.mk should include the module: CATStrUseItf

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.