NXOpen .NET Reference  12.0.0
Public Types | Properties | List of all members
NXOpen.Features.LatticeBuilder Class Reference

Represents a Features. More...

Inheritance diagram for NXOpen.Features.LatticeBuilder:
NXOpen.Features.FeatureBuilder NXOpen.Builder NXOpen.GeometricUtilities.IComponentBuilder

Public Types

enum  LatticeTypes { UnitGraph, SurfaceGraph, TetrahedronGraph, ConformalGraph }
 This enum represents the lattice types that are supported in NX. More...
 

Properties

unsafe NXOpen.SelectFaceList BaseFace [get]
 Returns the faces that the user selects to define the boundary More...
 
unsafe NXOpen.SelectBodyList BoundaryBody [get]
 Returns the solid bodies that the user selects to define the boundary More...
 
unsafe string CellTypeName [get, set]
 Returns or sets the name of the unit cell type that the user selects. More...
 
unsafe NXOpen.Expression EdgeLength [get]
 Returns the edge length of the unit cell bounding box, and effective only when the bounding box is a uniform cube More...
 
unsafe NXOpen.SelectFaceList FilterToolFace [get]
 Returns the faces of the boundary body that the dangling rods connected to will be removed from the lattice body More...
 
unsafe bool IsRandom [get, set]
 Returns or sets whether to randomize graph vertices within a specified range and generate some bumps for the lattice body. More...
 
unsafe bool IsUniformCube [get, set]
 Returns or sets whether the unit cell bounding box is a uniform cube More...
 
unsafe
NXOpen.Features.LatticeBuilder.LatticeTypes 
LatticeType [get, set]
 Returns or sets the type of lattice that is going to be created. More...
 
unsafe int Layers [get, set]
 Returns or sets the number of unit cell layers stacked over each other. More...
 
unsafe NXOpen.Expression MaxDeviation [get]
 Returns the maximum deviation that the vertices of the lattice graph will have. More...
 
unsafe NXOpen.Expression Offset [get]
 Returns the offset of the conformal lattice from the base face. More...
 
unsafe NXOpen.Matrix3x3 Orientation [get, set]
 Returns or sets the orientation matrix of unit cell patterning in the lattice creation. More...
 
unsafe NXOpen.Point3d Origin [get, set]
 Returns or sets the origin where the unit cell patterning starts in the lattice creation More...
 
unsafe bool RemoveDanglingRods [get, set]
 Returns or sets whether to remove dangling rods from the lattice body. More...
 
unsafe bool RemoveDisconnectedRods [get, set]
 Returns or sets whether to remove small disconnected lattice portions keeping just the largest body. More...
 
unsafe bool ReverseFaceDirection [get, set]
 Returns or sets whether the conformal lattice will be generated on the other side of the face More...
 
unsafe NXOpen.Expression RodDiameter [get]
 Returns the diameter/thickness of the rods in the lattice graph More...
 
unsafe NXOpen.Expression SizeX [get]
 Returns the size of the unit cell bounding box in x axis, and effective only when the bounding box is not a uniform cube More...
 
unsafe NXOpen.Expression SizeY [get]
 Returns the size of the unit cell bounding box in y axis, and effective only when the bounding box is not a uniform cube More...
 
unsafe NXOpen.Expression SizeZ [get]
 Returns the size of the unit cell bounding box in z axis, and effective only when the bounding box is not a uniform cube More...
 
unsafe double TessellationFactor [get, set]
 Returns or sets the tessellation factor of the lattice creation. More...
 
- Properties inherited from NXOpen.Features.FeatureBuilder
unsafe bool ParentFeatureInternal [get, set]
 Returns or sets whether or not the latest timestamped parent feature of this feature should be made internal More...
 
unsafe bool PatchSolutionFlag [get, set]
 Returns or sets the patch solution flag More...
 
unsafe string PatchSurfaceFilename [get, set]
 Returns or sets the patch surface filename More...
 
unsafe string SurroundingPatchSurfaceFilename [get, set]
 Returns or sets the surrounding patch surface filename More...
 

Additional Inherited Members

- Public Member Functions inherited from NXOpen.Features.FeatureBuilder
unsafe NXOpen.Features.Feature CommitFeature ()
 Commits the feature parameters and creates the feature More...
 
unsafe NXOpen.Features.Feature GetFeature ()
 Returns the feature currently being edited by this builder. More...
 
unsafe void SetParentFeatureInternal (NXOpen.Features.Feature parentFeature)
 Set the parent features which would be internal or slaves to the feature being created or commited More...
 
unsafe void UnsetParentFeatureInternal (NXOpen.Features.Feature parentFeature)
 Set the internal parent feature of the feature being edited to external More...
 
unsafe void ShowInternalParentFeatureForEdit (NXOpen.Features.Feature parentFeature)
 Unsuppress an internal parent feature (a slave feature) so it can be edited. More...
 
unsafe void HideInternalParentFeatureAfterEdit (NXOpen.Features.Feature parentFeature)
 Re-suppress an internal parent feature (a slave feature) after it has been edited. More...
 

Detailed Description

Represents a Features.

Lattice builder<para>To create a new instance of this class, use NXOpen.Features.LatticeFeatureCollection.CreateLatticeBuilder

Default values.

Property Value

CellTypeName

Octapeak

EdgeLength.Value

10 (millimeters part), 0.5 (inches part)

IsRandom

0

IsUniformCube

1

LatticeType

UnitGraph

Layers

1

MaxDeviation.Value

0.5 (millimeters part), 0.02 (inches part)

MaxEdgeLength.Value

10 (millimeters part), 0.5 (inches part)

Offset.Value

0 (millimeters part), 0 (inches part)

RemoveDanglingRods

0

RemoveDisconnectedRods

1

ReverseFaceDirection

0

RodDiameter.Value

1 (millimeters part), 0.05 (inches part)

SizeX.Value

10 (millimeters part), 0.5 (inches part)

SizeY.Value

10 (millimeters part), 0.5 (inches part)

SizeZ.Value

10 (millimeters part), 0.5 (inches part)

TessellationFactor

0.4

Created in NX11.0.2

Member Enumeration Documentation

This enum represents the lattice types that are supported in NX.

SurfaceGraph and TetrahedronGraph are not currently supported.

Enumerator
UnitGraph 
SurfaceGraph 
TetrahedronGraph 
ConformalGraph 

Property Documentation

unsafe NXOpen.SelectFaceList NXOpen.Features.LatticeBuilder.BaseFace
get

Returns the faces that the user selects to define the boundary

Created in NX11.0.2

License requirements: None.

unsafe NXOpen.SelectBodyList NXOpen.Features.LatticeBuilder.BoundaryBody
get

Returns the solid bodies that the user selects to define the boundary

Created in NX11.0.2

License requirements: None.

unsafe string NXOpen.Features.LatticeBuilder.CellTypeName
getset

Returns or sets the name of the unit cell type that the user selects.

Currently there are 15 valid unit cells that are supported in NX. Their name strings are:

  • BiTriangle
  • Cubeplex
  • Dodecahedron
  • HexStar
  • HexVase
  • HexVaseMod
  • Octapeak
  • Octahedroid
  • PseudoSierpinski
  • QuadDiametral
  • QuadDiametralCross
  • QuadDiametralLine
  • Star
  • TriDiametral
  • TriDiametralChevron

Created in NX11.0.2

License requirements to get this property: None.

License requirements to set this property: nx_lattice_base (" NX Lattice Base")

unsafe NXOpen.Expression NXOpen.Features.LatticeBuilder.EdgeLength
get

Returns the edge length of the unit cell bounding box, and effective only when the bounding box is a uniform cube

Created in NX11.0.2

License requirements: None.

unsafe NXOpen.SelectFaceList NXOpen.Features.LatticeBuilder.FilterToolFace
get

Returns the faces of the boundary body that the dangling rods connected to will be removed from the lattice body

Created in NX12.0.0

License requirements: None.

unsafe bool NXOpen.Features.LatticeBuilder.IsRandom
getset

Returns or sets whether to randomize graph vertices within a specified range and generate some bumps for the lattice body.

The range over which the vertices are randomized is determined by property Features.LatticeBuilder.MaxDeviation .

Created in NX11.0.2

License requirements to get this property: None.

License requirements to set this property: nx_lattice_base (" NX Lattice Base")

unsafe bool NXOpen.Features.LatticeBuilder.IsUniformCube
getset

Returns or sets whether the unit cell bounding box is a uniform cube

Created in NX11.0.2

License requirements to get this property: None.

License requirements to set this property: nx_lattice_base (" NX Lattice Base")

unsafe NXOpen.Features.LatticeBuilder.LatticeTypes NXOpen.Features.LatticeBuilder.LatticeType
getset

Returns or sets the type of lattice that is going to be created.

For now, the only supported lattice types are: NXOpen.Features.LatticeBuilder.LatticeTypes.UnitGraph and NXOpen.Features.LatticeBuilder.LatticeTypes.ConformalGraph .

Created in NX11.0.2

License requirements to get this property: None.

License requirements to set this property: nx_lattice_base (" NX Lattice Base")

unsafe int NXOpen.Features.LatticeBuilder.Layers
getset

Returns or sets the number of unit cell layers stacked over each other.

The default is one layer only.

Created in NX12.0.0

License requirements to get this property: None.

License requirements to set this property: nx_lattice_base (" NX Lattice Base")

unsafe NXOpen.Expression NXOpen.Features.LatticeBuilder.MaxDeviation
get

Returns the maximum deviation that the vertices of the lattice graph will have.

The bigger the value of this property is, the more obvious bumps the lattice body will generate.

Created in NX11.0.2

License requirements: None.

unsafe NXOpen.Expression NXOpen.Features.LatticeBuilder.Offset
get

Returns the offset of the conformal lattice from the base face.

A negative offset will let the conformal lattice intersect with the base face ("into material"). A positive offset will move the conformal lattice away from the base face( "away from material"). Using a negative offset can ensure that the final lattice body will intersect with the base face, if that is required. The default offset is zero.

Created in NX12.0.0

License requirements: None.

unsafe NXOpen.Matrix3x3 NXOpen.Features.LatticeBuilder.Orientation
getset

Returns or sets the orientation matrix of unit cell patterning in the lattice creation.

The orientation matrix is defined relative to the WCS.

Created in NX11.0.2

License requirements to get this property: None.

License requirements to set this property: nx_lattice_base (" NX Lattice Base")

unsafe NXOpen.Point3d NXOpen.Features.LatticeBuilder.Origin
getset

Returns or sets the origin where the unit cell patterning starts in the lattice creation

Created in NX11.0.2

License requirements to get this property: None.

License requirements to set this property: nx_lattice_base (" NX Lattice Base")

unsafe bool NXOpen.Features.LatticeBuilder.RemoveDanglingRods
getset

Returns or sets whether to remove dangling rods from the lattice body.

The dangling rods are defined as the following:

  • Connects at only one end to the lattice body
  • Touches or intersects a selected face of the boundary body

The selected faces are (Features.LatticeBuilder.FilterToolFace )

Created in NX12.0.0

License requirements to get this property: None.

License requirements to set this property: nx_lattice_base (" NX Lattice Base")

unsafe bool NXOpen.Features.LatticeBuilder.RemoveDisconnectedRods
getset

Returns or sets whether to remove small disconnected lattice portions keeping just the largest body.

Created in NX12.0.0

License requirements to get this property: None.

License requirements to set this property: nx_lattice_base (" NX Lattice Base")

unsafe bool NXOpen.Features.LatticeBuilder.ReverseFaceDirection
getset

Returns or sets whether the conformal lattice will be generated on the other side of the face

Created in NX12.0.0

License requirements to get this property: None.

License requirements to set this property: nx_lattice_base (" NX Lattice Base")

unsafe NXOpen.Expression NXOpen.Features.LatticeBuilder.RodDiameter
get

Returns the diameter/thickness of the rods in the lattice graph

Created in NX11.0.2

License requirements: None.

unsafe NXOpen.Expression NXOpen.Features.LatticeBuilder.SizeX
get

Returns the size of the unit cell bounding box in x axis, and effective only when the bounding box is not a uniform cube

Created in NX11.0.2

License requirements: None.

unsafe NXOpen.Expression NXOpen.Features.LatticeBuilder.SizeY
get

Returns the size of the unit cell bounding box in y axis, and effective only when the bounding box is not a uniform cube

Created in NX11.0.2

License requirements: None.

unsafe NXOpen.Expression NXOpen.Features.LatticeBuilder.SizeZ
get

Returns the size of the unit cell bounding box in z axis, and effective only when the bounding box is not a uniform cube

Created in NX11.0.2

License requirements: None.

unsafe double NXOpen.Features.LatticeBuilder.TessellationFactor
getset

Returns or sets the tessellation factor of the lattice creation.

A tessellation tolerance specifies the maximum deviation between the ideal rod and their final tessellated representation of the lattice body. Since the result heavily depends on the relation between rod diameter and tessellation tolerance the user specifies only a unitless tessellation factor. The actual tessellation tolerance will determined by (Features.LatticeBuilder.TessellationFactor ) X (Features.LatticeBuilder.RodDiameter )

Created in NX11.0.2

License requirements to get this property: None.

License requirements to set this property: nx_lattice_base (" NX Lattice Base")


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