Skip to main content
Version: Next

CylindricalSelectionRule

class compolyx.CylindricalSelectionRule(graph, obj, parent=None)

Cylindrical selection rule.

Attributes

NameDescription
CylindricalSelectionRule.activeActive status of object
CylindricalSelectionRule.changedTriggers Observable to dispatch changed message
CylindricalSelectionRule.directionDirection of the cylinder
CylindricalSelectionRule.direction_in_global_coordinatesDirection of the rule in global coordinates
CylindricalSelectionRule.enabledWhether this object is currently enabled or not
CylindricalSelectionRule.extentExtent of the rule
CylindricalSelectionRule.idID of object
CylindricalSelectionRule.include_rule_typeInclude type
CylindricalSelectionRule.is_dict_itemSpecifies whether the object is an item of a dict
CylindricalSelectionRule.is_list_itemSpecifies whether the object is an item of a list
CylindricalSelectionRule.link_pathRoot path of the current node in the tree for links to this object
CylindricalSelectionRule.mesh
CylindricalSelectionRule.nameName of object
CylindricalSelectionRule.originOrigin of the Cylinder
CylindricalSelectionRule.origin_in_global_coordinatesOrigin of the rule in global coordinates
CylindricalSelectionRule.parentParent object in tree
CylindricalSelectionRule.radiusRadius of the Cylinder
CylindricalSelectionRule.relative_rule_typeRelative type
CylindricalSelectionRule.root_pathRoot path of the current node in the tree
CylindricalSelectionRule.rosetteRosette of the used for origin and direction
CylindricalSelectionRule.statusStatus of the object
CylindricalSelectionRule.status_changedBoolean flag which is set to true in C++ when up-to-date status of object changes
CylindricalSelectionRule.uidUID of object
CylindricalSelectionRule.use_global_coordinate_systemUse global coordinate system for origin and direction
CylindricalSelectionRule.vertexThrows an error if the object has been removed from the graph

Methods

NameDescription
CylindricalSelectionRule.find_parent(type)Steps up the tree and returns the first parent with given type
CylindricalSelectionRule.get_short_description()
CylindricalSelectionRule.obj_exists()Checks if __obj still references the C++ object (i.e. has not been reset to None by self._delete) and exists in the graph
CylindricalSelectionRule.serialize()Serialize to Python string
CylindricalSelectionRule.serialize_name_and_id()Helper function to serialize name and ID
CylindricalSelectionRule.serialize_rule_types()
CylindricalSelectionRule.update()
CylindricalSelectionRule.visit(visitor)Walk through the tree and let the visitor perform an action on every descendant node