Share

WorkPoints.AddFixed Method

Parent Object: WorkPoints

Description

Method that creates a new work point at the position specified by the input point. When used to create a work point within an assembly the resulting work point will return an AssemblyWorkPointDef definition.

Syntax

WorkPoints.AddFixed( Point As Point, [Construction] As Boolean ) As WorkPoint

Parameters

Name Type Description
Point Point Input Point object.

Construction Boolean Optional Input Boolean that specifies whether to create the work point as a construction point or not. The default is False, which indicates to create a standard work point. A construction work point is hidden from the user and is not displayed graphically or listed in the browser. If work features are created as construction:
  • Deleting any downstream feature that consumes this construction work feature will have the effect of deleting this work feature as well.
  • If there are no consumers of the construction work feature, it is the responsibility of the creator to delete them since they will never get cleaned up and are not visible to users.


This is an optional argument whose default value is False.

Samples

Name Description
Loft Feature With Non-Planar Section This sample demonstrates the creation of a loft feature. It uses two sections for the loft, one is from a 2d sketch and the other is a non-planar section from a 3d sketch. Because one of the sketches isn't planar, a surface is created instead of a solid.
Work point at mass center This sample demonstrates creating a fixed work point and edit its position. It does this by computing the the center of mass of the part and creating a work point at that position. Subsequent runs of the sample reposition the work point at the new center of mass.
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.
UCS by three points This sample demonstrates the creation of a User Coordinate System (UCS) based on 3 points that define the origin, x-direction and y-direction for the UCS.

Version

Introduced in version 4

Was this information helpful?