NXOpen .NET Reference  12.0.0
Public Member Functions | List of all members
NXOpen.Annotations.CenterlineBuilder Class Reference

Represents a Base Centerline Builder for all types of centerlines More...

Inheritance diagram for NXOpen.Annotations.CenterlineBuilder:
NXOpen.Annotations.BaseSymbolBuilder NXOpen.Builder NXOpen.GeometricUtilities.IComponentBuilder NXOpen.Annotations.BaseCenterline3dBuilder NXOpen.Annotations.BaseCenterMarkBuilder NXOpen.Annotations.Centerline2dBuilder NXOpen.Annotations.CircleCenterlineBuilder NXOpen.Annotations.SymmetricalCenterlineBuilder NXOpen.Annotations.Centerline3dBuilder NXOpen.Annotations.PmiCenterline3dBuilder NXOpen.Annotations.CenterMarkBuilder NXOpen.Annotations.PmiCenterMarkBuilder NXOpen.Annotations.BaseBoltCircleCenterlineBuilder NXOpen.Annotations.CircularCenterlineBuilder NXOpen.Annotations.BoltCircleCenterlineBuilder NXOpen.Annotations.PmiBoltCircleCenterlineBuilder

Public Member Functions

unsafe void AddExtension (int index, double defaultValue)
 Adds extension based on select object index More...
 
unsafe void RemoveExtension (int index)
 Removes extension based on select object index More...
 
unsafe void AddEndExtensions (double start, double end)
 Adds extensions only at ends More...
 
unsafe void RemoveEndExtensions ()
 Removes extensions only at ends More...
 
unsafe void SetIndividualExtensions (int index, double value1, double value2)
 Modifies extensions based on select object index More...
 
unsafe void SetEndExtensions (double start, double end)
 Modifies end extensions only More...
 
unsafe double[] GetEndExtensions ()
 Returns end extensions only. More...
 
unsafe double[] GetAllIndividualExtensions ()
 Returns individual extensions. More...
 
unsafe void SetAllIndividualExtensions (double[] extensionValues)
 Sets all individual extensions More...
 
unsafe double[] GetAllExtensions ()
 Returns all extensions. More...
 
unsafe void ResetAllExtensions (double defaultValue)
 Reset all extensions by the supplied defaultValue More...
 

Detailed Description

Represents a Base Centerline Builder for all types of centerlines

This is an abstract class, and cannot be instantiated.

Created in NX6.0.0

Member Function Documentation

unsafe void NXOpen.Annotations.CenterlineBuilder.AddEndExtensions ( double  start,
double  end 
)

Adds extensions only at ends

Created in NX6.0.0

License requirements: drafting ("DRAFTING")

Parameters
startDefault start extension value
endDefault end extension value
unsafe void NXOpen.Annotations.CenterlineBuilder.AddExtension ( int  index,
double  defaultValue 
)

Adds extension based on select object index

Created in NX6.0.0

License requirements: drafting ("DRAFTING")

Parameters
indexIndex of the selected object
defaultValueDefault extension value
unsafe double [] NXOpen.Annotations.CenterlineBuilder.GetAllExtensions ( )

Returns all extensions.

If the builder is a NXOpen.Annotations.BoltCircleCenterlineBuilder or NXOpen.Annotations.CircularCenterlineBuilder and NXOpen.Annotations.CircleCenterlineSettingsBuilder.IndividualDistance is false, this will method will return no extensions.

Created in NX6.0.0

License requirements: drafting ("DRAFTING")

Returns
Extension values as output
unsafe double [] NXOpen.Annotations.CenterlineBuilder.GetAllIndividualExtensions ( )

Returns individual extensions.

This method is applicable only for NXOpen.Annotations.CenterMark and NXOpen.Annotations.CircleCenterline .

If the builder is a NXOpen.Annotations.BoltCircleCenterlineBuilder or NXOpen.Annotations.CircularCenterlineBuilder and NXOpen.Annotations.CircleCenterlineSettingsBuilder.IndividualDistance is false, this will method will return no extensions.

Created in NX6.0.0

License requirements: drafting ("DRAFTING")

Returns
Extension values as output
unsafe double [] NXOpen.Annotations.CenterlineBuilder.GetEndExtensions ( )

Returns end extensions only.

The first and the last extension of the centerline.

If the builder is a NXOpen.Annotations.BoltCircleCenterlineBuilder or NXOpen.Annotations.CircularCenterlineBuilder and NXOpen.Annotations.CircleCenterlineSettingsBuilder.IndividualDistance is false, this will method will return no extensions.

Created in NX6.0.0

License requirements: drafting ("DRAFTING")

Returns
Extension values as output
unsafe void NXOpen.Annotations.CenterlineBuilder.RemoveEndExtensions ( )

Removes extensions only at ends

Created in NX6.0.0

License requirements: drafting ("DRAFTING")

unsafe void NXOpen.Annotations.CenterlineBuilder.RemoveExtension ( int  index)

Removes extension based on select object index

Created in NX6.0.0

License requirements: drafting ("DRAFTING")

Parameters
indexIndex of the selected object
unsafe void NXOpen.Annotations.CenterlineBuilder.ResetAllExtensions ( double  defaultValue)

Reset all extensions by the supplied defaultValue

Created in NX6.0.1

License requirements: drafting ("DRAFTING")

Parameters
defaultValueNew extension value
unsafe void NXOpen.Annotations.CenterlineBuilder.SetAllIndividualExtensions ( double[]  extensionValues)

Sets all individual extensions

Created in NX8.0.1

License requirements: drafting ("DRAFTING")

Parameters
extensionValuesExtension values as input
unsafe void NXOpen.Annotations.CenterlineBuilder.SetEndExtensions ( double  start,
double  end 
)

Modifies end extensions only

Created in NX6.0.0

License requirements: drafting ("DRAFTING")

Parameters
startNew extension value at one end
endNew extension value at one end
unsafe void NXOpen.Annotations.CenterlineBuilder.SetIndividualExtensions ( int  index,
double  value1,
double  value2 
)

Modifies extensions based on select object index

Created in NX6.0.0

License requirements: drafting ("DRAFTING")

Parameters
indexIndex of the selected object
value1New extension value at one end
value2New extension value at other end

The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.