Function ProMaterialCurrentSet
Description
Sets the specified material to be current. This material will be used to analyze calculations of the part.
Note: By default, while assigning a material to a sheetmetal part, the function ProMaterialCurrentSet() modifies the values of the sheetmetal properties such as Y factor and/or bend table as per the material file definition. This triggers a regeneration and a modification of the developed length calculations of the sheetmetal part. However, you can avoid this behavior by setting the value of the config option "material_update_smt_bend_table" to "never_replace".
Replacement in Object TOOLKIT: | |
Synopsis
| ProMaterialCurrentSet |
| ( /* (In) The material handle */ ) |
Returns
| The function successfully set the specified material as current. |
| Model is in read-only state. |
| The argument is invalid. |
Sample Code References
User Guide References