2.3.4.2.8.  Key "APPLY_PART_MATERIAL_TO"

Applies the material on either the part, the body, both, or none.

Example:

APPLY_PART_MATERIAL_TO=Part

Value range:

  • ""

  • part

  • body

  • none

On this also compare the following keys:

  • CATMaterial File

    The key represents the name of CATMaterial File, which is used for created parts. If Metafile contains material information, the material name is searched for in the specified CATMaterial file and, if found, then assigned.

    Examples:

    [CreationOptions]
    MaterialFile(is3dpart)=MaterialFile.CATMaterial

    [CreationOptions]
    MaterialFile(is3dpart)=?Aplication.ResolveEnv("K:\\DS\\B18\\win_b64\\startup\\materials
     \\Catalog.CATMaterial")

  • StdMaterial(is3dPart)

  • Material(is3dpart)

    Name of the material from the MaterialFile, read from the part physical properties.

    Example:

    Material(is3dpart)=?GetObject("iface.calcnameservice").start(0).Format("<CLASSPROP 
     ( cns,CNSPHYPROP,CNSMAT ) > ").value()