AddSolid Method

Creates a 2D solid polygon.

See Also | Example

Signature

RetVal = object.AddSolid(Point1, Point2, Point3, Point4)

Object

ModelSpace Collection, PaperSpace Collection, Block
The object or objects this method applies to.

Point1

Variant (three-element array of doubles); input-only

Point2

Variant (three-element array of doubles); input-only

Point3

Variant (three-element array of doubles); input-only

Point4

Variant (three-element array of doubles); input-only

RetVal

Solid object
The newly created polygon.

Remarks

The first two points define one edge of the polygon. The third point is defined diagonally opposite from the second. If the fourth point is set equal to the third point, then a filled triangle is created.

Solids are filled only when the FILLMODE system variable is set to On. To set or query a system variable, use the SetVariable and GetVariable methods, respectively.

 

   Comments?