MaterialProperty#

class HatchStyle(*values)#

Bases: Enum

HatchStyleHorizontal = 1#
HatchStyleVertical = 2#
HatchStyleForwardDiagonal = 3#
HatchStyleBackwardDiagonal = 4#
HatchStyleCross = 5#
HatchStyleDiagonalCross = 6#
HatchStyle05Percent = 7#
HatchStyle10Percent = 8#
HatchStyle20Percent = 9#
HatchStyle25Percent = 10#
HatchStyle30Percent = 11#
HatchStyle40Percent = 12#
HatchStyle50Percent = 13#
HatchStyle60Percent = 14#
HatchStyle70Percent = 15#
HatchStyle75Percent = 16#
HatchStyle80Percent = 17#
HatchStyle90Percent = 18#
HatchStyleLightDownwardDiagonal = 19#
HatchStyleLightUpwardDiagonal = 20#
HatchStyleDarkDownwardDiagonal = 21#
HatchStyleDarkUpwardDiagonal = 22#
HatchStyleWideDownwardDiagonal = 23#
HatchStyleWideUpwardDiagonal = 24#
HatchStyleLightVertical = 25#
HatchStyleLightHorizontal = 26#
HatchStyleNarrowVertical = 27#
HatchStyleNarrowHorizontal = 28#
HatchStyleDarkVertical = 29#
HatchStyleDarkHorizontal = 30#
HatchStyleDashedDownwardDiagonal = 31#
HatchStyleDashedUpwardDiagonal = 32#
HatchStyleDashedHorizontal = 33#
HatchStyleDashedVertical = 34#
HatchStyleSmallConfetti = 35#
HatchStyleLargeConfetti = 36#
HatchStyleZigZag = 37#
HatchStyleWave = 38#
HatchStyleDiagonalBrick = 39#
HatchStyleHorizontalBrick = 40#
HatchStyleWeave = 41#
HatchStylePlaid = 42#
HatchStyleDivot = 43#
HatchStyleDottedGrid = 44#
HatchStyleDottedDiamond = 45#
HatchStyleShingle = 46#
HatchStyleTrellis = 47#
HatchStyleSphere = 48#
HatchStyleSmallGrid = 49#
HatchStyleSmallCheckerBoard = 50#
HatchStyleLargeCheckerBoard = 51#
HatchStyleOutlinedDiamond = 52#
HatchStyleSolidDiamond = 53#
class MaterialProperty(model_id: str, material_id: str, client: Client)#

Bases: object

Examples: Code Snippet: Manipulation of Material Properties

getName() → str#
setName(name: str)#
getColor() → int#
setColor(color: int)#
getHatch() → HatchStyle#
setHatch(hatch_style: HatchStyle)#
getUseHatch() → bool#
setUseHatch(use_hatch: bool)#
getHatchColor() → int#
setHatchColor(hatch_color: int)#
getUnitWeight() → float#
setUnitWeight(unit_weight: float)#
getUseSaturatedUnitWeight() → bool#
setUseSaturatedUnitWeight(use_saturated_unit_weight: bool)#
getSaturatedUnitWeight() → float#
setSaturatedUnitWeight(saturated_unit_weight: float)#