Share

Point2d Object


Description

The Point2d object. The object created is a transient mathematical object and is not displayed graphically. Also, for more information see the Transient Geometry article in the overview section.

Methods

Name Description
Copy Creates a copy of this Point2d object. The result is entirely independent and can be edited without affecting the original Point2d object.
DistanceTo Method that returns the distance between this point and the specified point.
GetPointData Get the data defining this point.
IsEqualTo Compares this point for equality with the specified point.
PutPointData Method that sets the data defining this point.
TransformBy Transform this point by the specified matrix.
TranslateBy Translate this point by the specified vector.
VectorTo Gets the vector of translation between this point and the specified point.

Properties

Name Description
X Specifies the X coordinate of the point. If not supplied, the X value will default to 0.
Y Specifies the Y coordinate of the point. If not supplied, the Y value will default to 0.

Accessed From

AngularGeneralDimension.SecondArrowheadPosition, AnnotationPlaneDefinition.ModelToAnnotationPlane, Arc2d.Center, Arc2d.EndPoint, Arc2d.MidPoint, Arc2d.StartPoint, ArcLengthDimConstraint.DimensionCenterPoint, ArcLengthDimConstraint.TextPoint, ArcLengthDimConstraintProxy.DimensionCenterPoint, ArcLengthDimConstraintProxy.TextPoint, AutoCADBlock.Position, Balloon.Position, BendNote.Position, Box2d.MaxPoint, Box2d.MinPoint, BreakOperation.EndPoint, BreakOperation.MidPoint, BreakOperation.StartPoint, BSplineCurve2d.PoleAtIndex, Camera.ModelToViewSpace, Centerline.EndPoint, Centerline.StartPoint, Centermark.ExtensionPointFour, Centermark.ExtensionPointOne, Centermark.ExtensionPointThree, Centermark.ExtensionPointTwo, Centermark.Position, ChamferNote.Position, Circle2d.Center, ComponentGraphics.GetViewSpaceAnchor, CurveGraphics.GetViewSpaceAnchor, CustomTable.Position, DetailDrawingView.Center, DetailDrawingView.DrawingViewToSheetSpace, DetailDrawingView.FenceCenter, DetailDrawingView.FenceCornerOne, DetailDrawingView.FenceCornerTwo, DetailDrawingView.ModelToDrawingViewSpace, DetailDrawingView.ModelToSheetSpace, DetailDrawingView.Position, DetailDrawingView.SheetToDrawingViewSpace, DiameterDimConstraint.DimensionCenterPoint, DiameterDimConstraint.TextPoint, DiameterDimConstraintProxy.DimensionCenterPoint, DiameterDimConstraintProxy.TextPoint, DimensionConstraint.DimensionCenterPoint, DimensionConstraint.TextPoint, DimensionText.Origin, DrawingCurve.CenterPoint, DrawingCurve.EndPoint, DrawingCurve.MidPoint, DrawingCurve.StartPoint, DrawingCurveSegment.EndPoint, DrawingCurveSegment.StartPoint, DrawingNote.Position, DrawingSketch.SheetToSketchSpace, DrawingSketch.SketchToSheetSpace, DrawingView.Center, DrawingView.DrawingViewToSheetSpace, DrawingView.ModelToDrawingViewSpace, DrawingView.ModelToSheetSpace, DrawingView.Position, DrawingView.SheetToDrawingViewSpace, DrawingViewLabel.Position, DrawingWeldingSymbol.Position, EdgeSymbol.Position, EllipseFull2d.Center, EllipseRadiusDimConstraint.DimensionCenterPoint, EllipseRadiusDimConstraint.TextPoint, EllipseRadiusDimConstraintProxy.DimensionCenterPoint, EllipseRadiusDimConstraintProxy.TextPoint, EllipticalArc2d.Center, EllipticalArc2d.EndPoint, EllipticalArc2d.StartPoint, FeatureControlFrame.Position, FeatureGraphics.GetViewSpaceAnchor, GeneralNote.Position, GeometryIntent.PointOnSheet, GraphicsPrimitive.GetViewSpaceAnchor, HoleTable.Position, HoleTag.Position, ImportedDWGComponentDefinition.DWGReferenceOriginInLocationPlane, LeaderNode.Position, LeaderNote.Position, Line2d.RootPoint, LinearGeneralDimension.SecondArrowheadPosition, LineGraphics.GetViewSpaceAnchor, LineSegment2d.EndPoint, LineSegment2d.MidPoint, LineSegment2d.StartPoint, LineStripGraphics.GetViewSpaceAnchor, ManipulatorEvents.SuggestedMiniToolbarPosition, Matrix2d.GetCoordinateSystem, MiniToolbar.Position, OffsetDimConstraint.DimensionCenterPoint, OffsetDimConstraint.TextPoint, OffsetDimConstraintProxy.DimensionCenterPoint, OffsetDimConstraintProxy.TextPoint, OffsetSplineDimConstraint.DimensionCenterPoint, OffsetSplineDimConstraint.TextPoint, OffsetSplineDimConstraintProxy.DimensionCenterPoint, OffsetSplineDimConstraintProxy.TextPoint, OrdinateDimension.JogPointOne, OrdinateDimension.JogPointTwo, PartsList.Position, PlanarSketch.ModelToSketchSpace, PlanarSketchProxy.ModelToSketchSpace, Point2d.Copy, PointGraphics.GetViewSpaceAnchor, Polyline2d.PointAtIndex, PunchNote.Position, RadiusDimConstraint.DimensionCenterPoint, RadiusDimConstraint.TextPoint, RadiusDimConstraintProxy.DimensionCenterPoint, RadiusDimConstraintProxy.TextPoint, RevisionCloud.Position, RevisionCloudControlPoint.Position, RevisionTable.Position, SectionDrawingView.Center, SectionDrawingView.DrawingViewToSheetSpace, SectionDrawingView.ModelToDrawingViewSpace, SectionDrawingView.ModelToSheetSpace, SectionDrawingView.Position, SectionDrawingView.SheetToDrawingViewSpace, SketchBlock.Position, SketchBlockDefinition.ModelToSketchSpace, SketchBlockDefinitionProxy.ModelToSketchSpace, SketchBlockProxy.Position, SketchedSymbol.Position, SketchImage.Position, SketchImageProxy.Position, SketchPoint.Geometry, SketchPointProxy.Geometry, SurfaceGraphics.GetViewSpaceAnchor, SurfaceTextureSymbol.Position, SweepGraphics.GetViewSpaceAnchor, TangentDistanceDimConstraint.DimensionCenterPoint, TangentDistanceDimConstraint.ProximityPointOne, TangentDistanceDimConstraint.ProximityPointTwo, TangentDistanceDimConstraint.TextPoint, TangentDistanceDimConstraintProxy.DimensionCenterPoint, TangentDistanceDimConstraintProxy.ProximityPointOne, TangentDistanceDimConstraintProxy.ProximityPointTwo, TangentDistanceDimConstraintProxy.TextPoint, TextBox.Origin, TextBoxProxy.Origin, TextGraphics.GetViewSpaceAnchor, ThreePointAngleDimConstraint.DimensionCenterPoint, ThreePointAngleDimConstraint.TextPoint, ThreePointAngleDimConstraintProxy.DimensionCenterPoint, ThreePointAngleDimConstraintProxy.TextPoint, TitleBlock.Position, TransientGeometry.CreatePoint2d, TransitionSymbol.Position, TriangleFanGraphics.GetViewSpaceAnchor, TriangleGraphics.GetViewSpaceAnchor, TriangleStripGraphics.GetViewSpaceAnchor, TwoLineAngleDimConstraint.DimensionCenterPoint, TwoLineAngleDimConstraint.TextPoint, TwoLineAngleDimConstraintProxy.DimensionCenterPoint, TwoLineAngleDimConstraintProxy.TextPoint, TwoPointDistanceDimConstraint.DimensionCenterPoint, TwoPointDistanceDimConstraint.TextPoint, TwoPointDistanceDimConstraintProxy.DimensionCenterPoint, TwoPointDistanceDimConstraintProxy.TextPoint

Samples

Name Description
Creation a balloon This sample demonstrates the creation of a balloon.
Create a Bend Table This sample demonstrates the creation of a bend table in a drawing from a sheet metal part.
Create a drawing Excel Table This sample demonstrates the creation of a table based on an Excel file in a drawing.
Add a decal feature This sample demonstrates the creation of a decal feature.
Aligning drawing dimensions This sample demonstrates aligning the selected drawing dimensions along a horizontal or vertical axis.
Create and Edit an Extrude Feature with a pocket This sample demonstrates how to edit an extrude feature. It shows how to create a sketch plane at a specified orientation to existing geometry.
Creating a parts list This sample demonstrates the creation of a parts list. The parts list is placed at the top right corner of the border if one exists, else it is placed at the top right corner of the sheet.
Create sheet metal face and cut features This sample demonstrates the creation of sheet metal face and cut features.
Offset a 2D sketch This sample demonstrates the creation of offsets in 2d sketches. Two ways of creating the offset are shown - one uses a distance and the other uses the input point.
Create sketched symbol and leader This sample illustrates creating sketched symbol with a leader.
Create sketch elliptical arc This sample demonstrates creating an elliptical arc in a sketch and dimensioning its minor radius.
Spline - create NURBS This sample demonstrates the creation of a sketch spline using a geometry definition (a NURB). The API also supports creation of 3D sketch splines in a similar way.
Sketch Spline This sample demonstrates creating and manipulating a sketch spline.
Sweep Feature Add This sample demonstrates the creation of a sweep feature. The profile is a circle, but the path is made up of a 3D sketch and a 2D sketch.
Sketch Text Add This sample illustrates creating text in a sketch.

Version

Introduced in version 4

Was this information helpful?