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.
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
Get the value of a tag in the METADATA attribute
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
Signal bulk attribute update begin
Signal bulk attribute update end
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
ACTIVE property
CASTS_SHADOWS property
CENTROID property
COLOR property
DESCRIPTION property
DIRECTION property
EDIT_TARGET property
Control the display and use of EnSight click and go handles for an object
ICON_SIZE property
INDEX property
INTENSITY property
LIGHT_ENV_TEXNUM property
LIGHT_QUAD_SIZE property
LIGHT_QUAD_XDIR property
LIGHT_TYPE property
LOCATION property
LOCK_DIRECTION property
METADATA property
PRESETS property
PROJECT_MASK property
RAY_END property
SELECTED property
SPOT_ANGLE property
SPOT_FALLOFF property
TRANSFORM_WITH_MODEL property
UUID property
VISIBLE property
Return the EnSight object proxy ID (__OBJID__).