AutoCAD.Point

Inherits from AutoCAD.Entity

Description

A class that encapsulates a point in a DWG file.

This class is a FlexScript wrapper for the AcDbPoint class.


			AutoCAD.Database db = AutoCAD.Database("C:\\Path\\to\\my\\file.dwg");
			if (!db)
				return 0;
			var iter = db.getBlockTable().getAt("*Model_Space").newIterator();
			for (iter.start(); !iter.done(); iter.step()) {
				var ent = iter.getEntity();
				if (ent.is(AutoCAD.Point)) {
					var point = ent.as(AutoCAD.Point);
					Vec3 position = point.position;
					...
				}
			}
		

Properties

position The position of the point.

Methods

create Creates a new AutoCAD.Point object.

Details

Do no remove, this fixes the anchor on doc.flexsim.com

AutoCAD.Point.position

Vec3 position

Description

The position of the point.

Do no remove, this fixes the anchor on doc.flexsim.com

AutoCAD.Point.create()

AutoCAD.Point create( )

Returns

AutoCAD.Point A new AutoCAD.Point object.

Description

Creates a new AutoCAD.Point object.


				var point = AutoCAD.Point.create();