alias_api.AlConstructionEntity

class alias_api.AlConstructionEntity

Bases: AlObject, AlPickable

Base class for Alias construction entities.

This base class encapsulates methods common to Alias construction entities. These entities include space points, curve points, surface points, curve on surface points, construction planes and construction vectors. Construction points have similiarities to locator objects. A major difference between construction points and locators is that construction points will be on the Alias pick list. The AlPickList class can be used to retrieve picked construction entity objects. As you will see below, the AlConstructionEntity class multiply inherits from the AlPickable class.

This class contains methods for deleting, and naming locators. In addition, methods are available for working with layers and for changing invisibility and templated modes.

As in the locator objects, if a construction entity is dependent on an object that is deleted, it will also be removed.

The construction entity hierarchy is the following:

AlConstructionEntity

| |
AlPoint AlConstructionVector AlConstructionPlane

| | |

Space Curve Surface Curve On Surface

The AlPoint class cannot be instantiated.

copy_wrapper(self: alias_api.AlConstructionEntity) alias_api.AlObject

Return an exact duplicate of this AlConstructionEntity wrapper.

delete_object(self: alias_api.AlConstructionEntity) int

Delete the AlConstructionEntity from the Alias Universe and return the status of the performed operation.

property invisible

Get or set the AlConstructionEntity invisibility.

property layer

Get or set the AlConstructionEntity layer.

property name

Get or set the AlConstructionEntity name.

templated(self: alias_api.AlConstructionEntity) int

On successfully checking the entity, return 1 if the AlConstructionEntity depends on anoather object which is templated, else return 0. On failure to check, return -1.

type(self: alias_api.AlConstructionEntity) alias_api.AlObjectType

Return the AlConstructionEntity type identifier.