Material attributes not found on parametric windows
obj.MaterialType returns one of the following strings : "Bent plate" or "Clevis" or "Decking" or "Flat bar" or "Grating" or "Grating tread" or "Plate" or "Round bar" or "Rolled plate" or "Angle" or "Pipe" or "W flange" or "W Tee" or "Channel" or "Tube" or "Shear stud" or "Square bar" or "Turnbuckle". ( read-only )
# Prints the material type of the selected material.
from mtrl_list import MtrlLocate
obj = MtrlLocate("Select a material", "Single")
print("The material type is", obj.MaterialType)
obj.GUID returns the GUID (Global Unique Identifier) of the material. Each material in a Job has an unique GUID that remains associated with it even if the properties of the material are altered. Theoretically GUIDs are never duplicated -- even in different Jobs. ( read-only )
# Prints the GUID of the selected material.
from mtrl_list import MtrlLocate
obj = MtrlLocate("Select a material", "Single")
print("The GUID is", obj.GUID)
obj.Member returns the member number (an integer > 0) of the member that the material belongs to. ( read-only )
# Prints the member the material belongs to.
from mtrl_list import MtrlLocate
obj = MtrlLocate("Select a material", "Single")
print("The member number is", obj.Member)