Glyph Version 7.22.2 Base Entity Type - Entity |
pw:: EntityEntity type Derives FromSummary
getByName
This action gets an entity with the given name. Parameters
ReturnsThis action returns a pw::Entity object. getExtents (static)
This action gets the extents of the given entities. Parameters
ReturnsThis action returns a list of two vectors representing the min and max points of the extents. InformationThis command supports progress updates. getOrientedExtents (static)
This action gets the oriented extents of the given entities. Parameters
ReturnsThis action returns a list of four vectors representing min point, max point, width direction and height direction of the extents. The width and height directions are unit vectors parallel to the width and height of the extents. The length direction can be computed as the cross product of the width and height directions. InformationThis command supports progress updates. sort
This action sorts the given entities. Parameters
ReturnsThis action returns a list of pw::Entity objects in sorted order. InformationThe sort order is based on the type of entity, the user specified sort order, and the creation order of the entities. The first criterion is the type, with the order being pw::Block objects, pw::Domain objects, pw::Connector objects, and then pw::DatabaseEntity objects. The second criterion is the user specified order, using the pw::Domain.setSortOrder and pw::Block.setSortOrder actions, with unspecified entities being listed after user specified entities. The third and final criterion is the creation order, with older entities listed first. See AlsocycleColors
This action sets the list of entities to the next color in the cycle. Parameters
ReturnsThis action does not return anything. InformationThe color cycle is a static, predefined series of RGB color values. The first color assigned by this action is the next in the cycle after the last color assigned by the most recent execution of this action. That is, the color cycle does not reset after each execution. transform
This action transforms the given entities by the given matrix. Parameters
ReturnsThis action returns nothing. project
This action projects the given entities onto database entities. Parameters
ReturnsThis action returns nothing. NoteIf the entities parameter contains any pw::Domain objects, it is an error to include any pw::Curve objects in the dbentities parameter. checkDelete
This action checks the results of deleting the given entities, without actually deleting the entities. Parameters
ReturnsThis action returns a list of the pw::Entity objects that would be deleted if the delete action was used with the given entities. InformationThis command supports progress updates. delete
This action deletes the given entities. Parameters
ReturnsThis action returns nothing. InformationThis command supports progress updates. Color
This attribute is the color of the entity. Type
Default0x00000000 Transparency
This attribute is the transparency of the entity. Type
Default0.0 (except for sources, which have a default value of 0.5) Enabled
This attribute is the enabled status of the entity. TypeParameters
Defaulttrue Layer
This attribute is the layer that the entity is in. TypeThis attribute is an integer with the range [0, 1023]. Parameters
DefaultThe current layer attribute of the display pw::Display.CurrentLayer toggleEnabled
This action toggles the Enabled attribute of the entity. Parameters
ReturnsThis action returns nothing. getExtents
This action gets the extents of this entity. ParametersThis action has no parameters. ReturnsThis action returns a list of two vectors representing the min and max points of the extents. getOrientedExtents
This action gets the oriented extents of this entity. Parameters
ReturnsThis action returns a list of four vectors representing min point, max point, width direction and height direction of the extents. The width and height directions are unit vectors parallel to the width and height of the extents. The length direction can be computed as the cross product of the width and height directions. InformationThis command supports progress updates. getTimeStamp
This action gets the timestamp of an entity. Parametersnone ReturnsThis action returns a string representing the time in WWW MMM DD YYYY hh:mm:ss.f.i format where WWW is the 3-letter abbreviated day of the week, MMM is the 3-letter abbreviated month, DD is the space padded day of the month (1-31), YYYY is the year, hh is the 24 hour count (0-23), mm is the minute count (00-59), ss is the second count (00-59), f is the fractional second, and i is the increment on the time for stamps that occurred during the same second (0-max int value). getGroups
This action gets the groups that this entity is an explicit member of. ParametersThis action has no parameters. ReturnsThis action returns a list of pw::Group objects. getFramework
This action returns the pw::Framework to which this entity belongs. ParametersThis action has no parameters. ReturnsThis action returns a pw::Framework object. ColorMode
This attribute is the color mode for rendering an entity. TypeThis attribute is a string with options < Automatic | Entity | Connectivity >. Information
The primary color is used for drawing lines when the <DisplayStyle> render attribute is set to Wireframe or Hiddenline. The secondary color is not used for these display styles. The primary color is used to fill polygons when the <DisplayStyle> render attribute is set to Solid, Shaded, SolidWireframe, or ShadedWireframe. The secondary color is used for drawing lines in these display styles. See AlsoColor, SecondaryColorMode, SecondaryColor, setRenderAttribute, getRenderAttribute SecondaryColorMode
This attribute is the secondary color mode for rendering an entity. TypeThis attribute is a string with options < Automatic | Entity | Connectivity >. InformationThe secondary color is used for drawing lines when the <DisplayStyle> render attribute is set to Solid, Shaded, SolidWireframe, or ShadedWireframe. See ColorMode for additional mode value information. See AlsoColorMode, <DisplayStyle>, setRenderAttribute, getRenderAttribute PointMode
This attribute is the point mode for rendering an entity. TypeThis attribute is a string with options < None | All >. Information
See AlsoColorMode, SecondaryColorMode, SecondaryColor, LineMode, FillMode, setRenderAttribute, getRenderAttribute FillMode
This attribute is the fill mode for rendering an entity. TypeThis attribute is a string with options < None | Flat | Shaded | HiddenLine >. Information
Entities that do not have polygons ignore this render attribute. See AlsoColorMode, SecondaryColorMode, SecondaryColor, LineMode, setRenderAttribute, getRenderAttribute LineMode
This attribute is the line mode for rendering an entity. TypeThis attribute is a string with options < All | Boundary | None >. InformationAll renders the interior and boundary lines. Boundary renders just the boundary lines. None renders no lines. See AlsoColorMode, SecondaryColorMode, SecondaryColor, IsolineCount, FillMode, setRenderAttribute, getRenderAttribute IsolineCount
This attribute is the isoline count of the entity. TypeThis attribute is a two element integer list representing the count of u isolines and v isolines, where 3 refers to 1 interior isoline and 2 or less draws borders only. Default0 0 |
This action gets an entity with the given name.
pw::Entity getByName ?-path path? name
This action gets the extents of the given entities.
pw::Entity getExtents entities
This action gets the oriented extents of the given entities.
pw::Entity getOrientedExtents ?-frame widthDir heightDir? ?-tolerance tol? entities
This action sorts the given entities.
pw::Entity sort entities
This action sets the list of entities to the next color in the cycle.
pw::Entity cycleColors entities
This action transforms the given entities by the given matrix.
pw::Entity transform matrix entities
This action projects the given entities onto database entities.
pw::Entity project ?-type proj_type? ?-direction direction? ?-center center? ?-axis point normal? ?-fit tolerance? ?<-interior | -shape>? entities ?dbentities?
This action checks the results of deleting the given entities, without actually deleting the entities.
pw::Entity checkDelete ?-freed freedVar? ?-unconstrained unconstrainedVar? ?-constraining constrainingVar? entities
This action deletes the given entities.
pw::Entity delete entities
This attribute is the name of the entity.
$entity get/setName name
This attribute is the color of the entity.
$entity get/setColor color
This attribute is the transparency of the entity.
$entity get/setTransparency value
This attribute is the enabled status of the entity.
$entity get/setEnabled ?-parents? enable
This attribute is the layer that the entity is in.
$entity get/setLayer ?-parents? layer
This action toggles the Enabled attribute of the entity.
$entity toggleEnabled ?-parents?
This action gets the extents of this entity.
$entity getExtents
This action gets the oriented extents of this entity.
$entity getOrientedExtents ?-frame widthDir heightDir? ?-tolerance tol?
This action gets the timestamp of an entity.
$entity getTimeStamp
This action gets the named render attribute.
$entity getRenderAttribute att_name
This action sets the named render attribute.
$entity setRenderAttribute att_name att_value
This action gets the groups that this entity is an explicit member of.
$entity getGroups
This action returns the pw::Framework to which this entity belongs.
$entity getFramework
This attribute is the color mode for rendering an entity.
$entity get/setRenderAttribute ColorMode mode
This attribute is the secondary color of the entity.
$entity get/setRenderAttribute SecondaryColor color
This attribute is the secondary color mode for rendering an entity.
$entity get/setRenderAttribute SecondaryColorMode mode
This attribute is the point mode for rendering an entity.
$entity get/setRenderAttribute PointMode mode
This attribute is the fill mode for rendering an entity.
$entity get/setRenderAttribute FillMode mode
This attribute is the line mode for rendering an entity.
$entity get/setRenderAttribute LineMode mode
This attribute is the isoline count of the entity.
$entity get/setRenderAttribute IsolineCount ij
This attribute is the triangle density for entity rendering.
$entity get/setRenderAttribute TriangleDensity density
This attribute is the line density for entity rendering.
$entity get/setRenderAttribute LineDensity ij
This attribute is the line width for entity rendering.
$entity get/setRenderAttribute LineWidth width
This action sets the user specified sort order of domains.
pw::Domain setSortOrder domains
This action sets the user specified sort order of blocks.
pw::Block setSortOrder blocks
This attribute is the current layer which is always visible and new entities are added to this layer.
pw::Display get/setCurrentLayer layer