CADNode#

class ansys.aedt.core.emit_core.nodes.generated.cad_node.CADNode(emit_obj, result_id, node_id)#

Provide cad node.

Methods

CADNode.delete()

Delete this node.

CADNode.duplicate([new_name])

Duplicate this node.

CADNode.get_is_component()

Check if node is also a component.

CADNode.get_properties([property_names, ...])

Get all of a node's properties in a single API call.

CADNode.props_to_dict(props)

Converts a list of key/value pairs to a dictionary.

CADNode.set_properties(properties[, skipChecks])

Set multiple node properties simultaneously.

Attributes

CADNode.allowed_child_types

Child types allowed for this node.

CADNode.children

Child nodes of this node.

CADNode.color

Defines the CAD nodes color.

CADNode.file

Name of the imported CAD file.

CADNode.max

Maximum x,y,z extents of CAD model in local coordinates.

CADNode.min

Minimum x,y,z extents of CAD model in local coordinates.

CADNode.name

Name of the node.

CADNode.node_type

The type of this emit node.

CADNode.notes

Expand to view/edit notes stored with the project.

CADNode.number_of_surfaces

Number of surfaces in the model.

CADNode.odesktop

Desktop instance used for version checking.

CADNode.orientation

Set orientation of the CAD node in parent-node coordinates.

CADNode.orientation_mode

Orientation Mode.

CADNode.parent

The parent of this emit node.

CADNode.parent_name

Full node name of the parent node including the entire tree structure

CADNode.position

Set position of the CAD node in parent-node coordinates.

CADNode.properties

Node properties.

CADNode.relative_orientation

Relative Orientation.

CADNode.relative_position

Relative Position.

CADNode.render_mode

Select drawing style for surfaces.

CADNode.show_axes

Toggle (on/off) display of CAD model coordinate axes in 3-D window.

CADNode.show_relative_coordinates

Show Relative Coordinates.

CADNode.valid

Indicates if this object is still valid (not detached from EMIT node).

CADNode.visible

Toggle (on/off) display of CAD model in 3-D window.

CADNode.warnings

Warnings for the node, if any.