Share

TransientGeometry.CreatePoint2d Method

Parent Object: TransientGeometry

Description

Method that creates a new Point2d object.

Syntax

TransientGeometry.CreatePoint2d( [XCoord] As Double, [YCoord] As Double ) As Point2d

Parameters

Name Type Description
XCoord Double Input Double that specifies the point's X-coordinate.

This is an optional argument whose default value is 0.0.
YCoord Double Input Double that specifies the Point's Y-coordinate.

This is an optional argument whose default value is 0.0.

Samples

Name Description
Creation a balloon This sample demonstrates the creation of a balloon.
Custom Table - create This sample demonstrates how to create a custom table.
Create a Bend Table This sample demonstrates the creation of a bend table in a drawing from a sheet metal part.
Create a Configuration Table This sample demonstrates the creation of a configuration (iPart/iAssembly) table in a drawing from a factory document.
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.
Derived Parts and Assemblies This sample demonstrates the use of the API to create derived parts and assemblies.
Edit profile of an extrude feature This sample demonstrates editing the profile of an extrude feature.
Finding Bend Extent (Tangent) Edges This sample demonstrates how to retrieve the bend extent edges (a.k.a. tangent edges) associated with the selected bend edge on a flat pattern.
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.
Sketch from Face Silhouette This sample creates a cylindrical solid, creates a new sketch plane and creates some new sketch lines from the actual edges and the apparent (silhouette) edges of the cylinder.
Sketch Edit Orientation This sample demonstrates modifying the orientation of a sketch.
Sketch Add Oriented This sample demonstrates the creation of a sketch using the Sketches.AddWithOrientation method.
Add a punch tool feature This program demonstrates the creation of a punch tool feature. It uses one of the punch features that's delivered with Inventor. It assumes you already have an existing sheet metal part and have selected a face to place the punch feature on. The selected face should be large so there is room for the punch features.
Create sheet metal face and cut features This sample demonstrates the creation of sheet metal face and cut features.
Create sheet metal face and flange features This sample demonstrates the creation of sheet metal face and flange features.
Projection - project across parts This sample demonstrates projecting a sketch entity across parts in an assembly. To use the sample, have an assembly open that contains at least two occurrences, (parts only), and run the program.
Defer sketch updates This sample demonstrates the sketch defer update functionality.
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.
Sketch Lines This sample demonstrates creating lines. It uses all of the various methods to create lines, both singly and as rectangles.
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.

Version

Introduced in version 4

Was this information helpful?