Edge Object
Description
The Edge object. See the Boundary Representation article in the overviews section.Methods
Name | Description |
CalculateStrokes | Method that calculates the set of strokes that approximate all of the edges of the SurfaceBody, Face or Edge from which the method was called. The Tolerance argument defines the accuracy of the strokes. The output from this method represents a series of line segments, not connected polylines. |
CalculateStrokesWithOptions | Method that creates a new set of strokes within the specified conditions. |
GetClosestPointTo | Method that returns a point on the edge that is closest to the input point. A single point is returned even if multiple equidistant points are found. To get the u parameter of the returned point on the edge, use Edge.Evaluator.GetParamAtPoint method. |
GetExistingStrokes | Method that returns the specified set of strokes from the SurfaceBody, Face or Edge the method was called from. Existing strokes are stored to single-precision floating point accuracy. This is typically adequate accuracy for display purposes. If a more accurate result is required you can use the CalculateStrokes method, which will calculate new strokes to a given tolerance at double-precision accuracy. If you are using this method within Apprentice, you can use the DisplayAffinity property to optimize Apprentice for access to strokes. Setting this property to True before you begin to traverse an assembly notifies Apprentice not to load any B-rep entities. |
GetExistingStrokeTolerances | Method that gets the tolerances that were used to calculate the existing sets of display strokes. These can be used to determine if any existing strokes have been calculated within your desired accuracy. The tolerance value is also used as an index to specify which set of existing strokes to retrieve when using the GetExistingStrokes method. If you are using this method within Apprentice, you can use the DisplayAffinity property to optimize Apprentice for access to strokes. Setting this property to True before you begin to traverse an assembly notifies Apprentice not to load any B-rep entities. |
GetReferenceKey | Method that generates and returns the reference key for this entity. |
GetSourceEdge | Method that gets the source edge that has been overridden by this edge. The method returns Nothing if this edge is not an override. An error is returned if this method is called on an edge in a part. |
Properties
Name | Description |
Application | Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned. |
AttributeSets | Property that returns the AttributeSets collection object associated with this object. |
EdgeUses | Gets the that reference this Edge. |
Evaluator | Gets the CurveEvaluator for this Edge. |
Faces | Property that returns the that this Edge is referenced from. |
Geometry | Property that returns the underlying geometry of the edge (e.g. Arc2D, Circle, Cone etc.) |
GeometryForm | Gets the form of the underlying geometry as a combination of one or more CurveGeometryFormEnum values. |
GeometryType | Get the curve type of the curve that will be returned from the Geometry property. |
IsParamReversed | Gets whether the parameterization of the geometry obtained from the Geometry property is aligned or opposed to the topological sense of this Edge. |
IsTolerant | Indicates if this Edge is using tolerant modeling to allow a non-exact model. |
Parent | Property that returns the parent object from whom this object can logically be reached. |
PointOnEdge | Property that returns a characteristic somewhere in the middle of the Edge. |
StartVertex | Gets the Vertex referenced at the start of this Edge. |
StopVertex | Gets the Vertex referenced at the end of this Edge. |
TangentiallyConnectedEdges | Property that returns an that contains the input edge and all tangentially connected edges. The CollectionType of the output EdgeCollection is set to kTangentiallyConnected. |
Tolerance | Returns the tolerance being used for modeling calculations and this Edge. |
TransientKey | Property that obtains an ID key that can be used to bind back to the live object. This transient key is only valid as long as the document state has not changed. For more information, see the ReferenceKeys overview. |
Type | Returns an ObjectTypeEnum indicating this object's type. |
Wire | Get the Wire containing this Edge. Returns Nothing if this Edge does not belong to a Wire. |
Accessed From
AnalyticEdgeWorkAxisDef.Edge, Edge.GetSourceEdge, EdgeProxy.GetSourceEdge, EdgeProxy.NativeObject, Edges.Item, EdgeUse.Edge, EdgeUseProxy.Edge, FilletIntermediateRadius.Edge, FilletSetback.Edge, FlatBendResult.Edge, MeshEdge.Edge, MeshEdgeProxy.Edge, MidPointWorkPointDef.Edge, NonLinearEdgeWorkPointDef.Edge, PublicationMeshEdge.Edge, RuledSurfaceEdgeFacePair.GetData, SurfaceGraphicsEdge.EdgeDerived Classes
EdgeProxySamples
Name | Description |
Add assembly insert constraint | This sample demonstrates the creation of an assembly insert constraint. |
Delete Face, Boundary Patch and Stitch features | Demonstrates creating Face, Boundary Patch and Stitch features. |
Create sheet metal face and fold features | This sample demonstrates the creation of sheet metal face and fold features. |
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. |
Create sheet metal rip feature | This sample demonstrates the creation of a rip sheet metal feature. |
Window Selection | This sample demonstrates using the selection events to window-select multiple edges. Selection is dependent on events and VB only supports events within a class module. |
Create sheet metal face and flange features | This sample demonstrates the creation of sheet metal face and flange features. |
Thread Feature Create | This sample demonstrates the creation of a thread feature. It creates a cylinder in a new part document and creates a thread feature on the cylinder. |