ENS_LIGHTSOURCE#

class ansys.api.pyensight.ens_lightsource.ENS_LIGHTSOURCE(*args, **kwargs)#

This class acts as a proxy for the EnSight Python class ensight.objs.ENS_LIGHTSOURCE

Args:
*args:

Superclass (ENSOBJ) arguments

**kwargs:

Superclass (ENSOBJ) keyword arguments

Methods

ENS_LIGHTSOURCE.attrgroupinfo(*args, **kwargs)

Get information about GUI groups for object attributes

ENS_LIGHTSOURCE.attrinfo([attrid])

For a given attribute id, return type information

ENS_LIGHTSOURCE.attrissensitive(attrid)

Check to see if a given attribute is 'sensitive'

ENS_LIGHTSOURCE.attrtree([all, filter, ...])

Get detailed GUI information for attributes of this object.

ENS_LIGHTSOURCE.destroy()

Destroy the EnSight object associated with this proxy object

ENS_LIGHTSOURCE.getattr(attrid)

Query the value of the specified attribute

ENS_LIGHTSOURCE.getattrs([attrid, text])

Query the value of a collection of attributes

ENS_LIGHTSOURCE.getmetatag(tag)

Get the value of a tag in the METADATA attribute

ENS_LIGHTSOURCE.hasmetatag(tag)

Check to see if a tag exists in the METADATA attribute

ENS_LIGHTSOURCE.set_preset(*args, **kwargs)

Set lighting preset

ENS_LIGHTSOURCE.setattr(attrid, value)

Set the value of the specified attribute

ENS_LIGHTSOURCE.setattr_begin()

Signal bulk attribute update begin

ENS_LIGHTSOURCE.setattr_end()

Signal bulk attribute update end

ENS_LIGHTSOURCE.setattr_status()

ENS_LIGHTSOURCE.setattrs(values[, all_errors])

Set the values of a collection of attributes

ENS_LIGHTSOURCE.setmetatag(tag, value)

Change a value in the METADATA attribute

Attributes

ENS_LIGHTSOURCE.ACTIVE

ACTIVE property

ENS_LIGHTSOURCE.CASTS_SHADOWS

CASTS_SHADOWS property

ENS_LIGHTSOURCE.CENTROID

CENTROID property

ENS_LIGHTSOURCE.COLOR

COLOR property

ENS_LIGHTSOURCE.DESCRIPTION

DESCRIPTION property

ENS_LIGHTSOURCE.DIRECTION

DIRECTION property

ENS_LIGHTSOURCE.EDIT_TARGET

EDIT_TARGET property

ENS_LIGHTSOURCE.HANDLES_ENABLED

Control the display and use of EnSight click and go handles for an object

ENS_LIGHTSOURCE.ICON_SIZE

ICON_SIZE property

ENS_LIGHTSOURCE.INDEX

INDEX property

ENS_LIGHTSOURCE.INTENSITY

INTENSITY property

ENS_LIGHTSOURCE.LIGHT_ENV_TEXNUM

LIGHT_ENV_TEXNUM property

ENS_LIGHTSOURCE.LIGHT_QUAD_SIZE

LIGHT_QUAD_SIZE property

ENS_LIGHTSOURCE.LIGHT_QUAD_XDIR

LIGHT_QUAD_XDIR property

ENS_LIGHTSOURCE.LIGHT_TYPE

LIGHT_TYPE property

ENS_LIGHTSOURCE.LOCATION

LOCATION property

ENS_LIGHTSOURCE.LOCK_DIRECTION

LOCK_DIRECTION property

ENS_LIGHTSOURCE.METADATA

METADATA property

ENS_LIGHTSOURCE.PRESETS

PRESETS property

ENS_LIGHTSOURCE.PROJECT_MASK

PROJECT_MASK property

ENS_LIGHTSOURCE.RAY_END

RAY_END property

ENS_LIGHTSOURCE.SELECTED

SELECTED property

ENS_LIGHTSOURCE.SPOT_ANGLE

SPOT_ANGLE property

ENS_LIGHTSOURCE.SPOT_FALLOFF

SPOT_FALLOFF property

ENS_LIGHTSOURCE.TRANSFORM_WITH_MODEL

TRANSFORM_WITH_MODEL property

ENS_LIGHTSOURCE.UUID

UUID property

ENS_LIGHTSOURCE.VISIBLE

VISIBLE property

ENS_LIGHTSOURCE.__OBJID__

ENS_LIGHTSOURCE.objid

Return the EnSight object proxy ID (__OBJID__).