Pymel / Python Coding

Category: 3delight

3delight geo attributes_

# create geo attributestring $dga_node = DGA_create();DGA_visibilityTransmissionCreateAttr($dga_node);DGA_visibleToCameraCreateAttr($dga_node);DGA_geometryCurves($dga_node);setAttr ($dga_node + “.visibilityTransmission”) 0; //opaquestring $sl[] = `ls -sl -l`;DL_setObjectAttrib($dga_node, “delightGeoAttribs”, $sl); # change property of existing geo attributestring $dga_node = “delightGeoAttribs2”;setAttr ($dga_node + “.visibilityTransmission”) 1; //opaque For creating mask set per selection: