HPS.Exchange.ModelFileImportOptionsKit Class Reference
Inheritance diagram for HPS.Exchange.ModelFileImportOptionsKit:
HPS.SprocketKit HPS.Sprocket HPS.Object

Public Member Functions

override void Dispose ()
 
override bool Empty ()
 
override bool Equals (System.Object obj)
 
bool Equals (HPS.Exchange.ModelFileImportOptionsKit in_kit)
 
override int GetHashCode ()
 
 ModelFileImportOptionsKit ()
 
 ModelFileImportOptionsKit (HPS.Exchange.ModelFileImportOptionsKit in_kit)
 
override HPS.Type ObjectType ()
 
void Set (HPS.Exchange.ModelFileImportOptionsKit in_kit)
 
HPS.Exchange.ModelFileImportOptionsKit SetAnnotationCaptureFitting (HPS.Exchange.AnnotationCaptureFitting in_fitting)
 
HPS.Exchange.ModelFileImportOptionsKit SetComputePreferredOpenShellOrientation (bool in_state)
 
HPS.Exchange.ModelFileImportOptionsKit SetGeometryDefaultColor (HPS.RGBAColor in_color)
 
HPS.Exchange.ModelFileImportOptionsKit SetHiddenObjects (bool in_state)
 
HPS.Exchange.ModelFileImportOptionsKit SetIFCEdges (bool in_state)
 
HPS.Exchange.ModelFileImportOptionsKit SetLocation (HPS.ComponentPath in_path, HPS.MatrixKit in_transform)
 
HPS.Exchange.ModelFileImportOptionsKit SetLocation (HPS.ComponentPath in_path)
 
HPS.Exchange.ModelFileImportOptionsKit SetNURBSConversion (HPS.Exchange.NURBSConversionOptionsKit in_nurbs_conversion_options)
 
HPS.Exchange.ModelFileImportOptionsKit SetPMIFlipping (bool in_flip)
 
HPS.Exchange.ModelFileImportOptionsKit SetSewingTolerance (double in_tolerance)
 
HPS.Exchange.ModelFileImportOptionsKit SetTessellationAccuracy (HPS.Exchange.Tessellation.Accuracy in_type, bool in_accurate_normals, bool in_accurate_surface_curvatures, double accurate_grid_maximum_stitch_length)
 
HPS.Exchange.ModelFileImportOptionsKit SetTessellationAccuracy (HPS.Exchange.Tessellation.Accuracy in_type, bool in_accurate_normals, bool in_accurate_surface_curvatures)
 
HPS.Exchange.ModelFileImportOptionsKit SetTessellationAccuracy (HPS.Exchange.Tessellation.Accuracy in_type, bool in_accurate_normals)
 
HPS.Exchange.ModelFileImportOptionsKit SetTessellationAccuracy (HPS.Exchange.Tessellation.Accuracy in_type)
 
HPS.Exchange.ModelFileImportOptionsKit SetTessellationCleanup (bool in_cleanup)
 
HPS.Exchange.ModelFileImportOptionsKit SetTessellationLevel (HPS.Exchange.Tessellation.Level in_level)
 
HPS.Exchange.ModelFileImportOptionsKit SetTessellationLevel (HPS.Exchange.Tessellation.Chord.Limit in_limit_type, double in_limit, double in_angle_tolerance)
 
HPS.Exchange.ModelFileImportOptionsKit SetTessellationMaximumEdgeLength (double in_length)
 
HPS.Exchange.ModelFileImportOptionsKit SetTessellationPreservesUVPoints (bool in_state)
 
void Show (out HPS.Exchange.ModelFileImportOptionsKit out_kit)
 
bool ShowAnnotationCaptureFitting (out HPS.Exchange.AnnotationCaptureFitting out_fitting)
 
bool ShowComputePreferredOpenShellOrientation (out bool out_state)
 
bool ShowGeometryDefaultColor (out HPS.RGBAColor out_color)
 
bool ShowHiddenObjects (out bool out_state)
 
bool ShowIFCEdges (out bool out_state)
 
bool ShowLocation (out HPS.ComponentPath out_path, out HPS.MatrixKit out_transform)
 
bool ShowNURBSConversion (out HPS.Exchange.NURBSConversionOptionsKit out_nurbs_conversion_options)
 
bool ShowPMIFlipping (out bool out_pmi_flipping)
 
bool ShowSewingTolerance (out double out_tolerance)
 
bool ShowTessellationAccuracy (out HPS.Exchange.Tessellation.Accuracy out_type, out bool out_accurate_normals, out bool out_accurate_surface_curvatures, out double out_accurate_grid_maximum_stitch_length)
 
bool ShowTessellationCleanup (out bool out_cleanup)
 
bool ShowTessellationLevel (out HPS.Exchange.Tessellation.Type out_type, out HPS.Exchange.Tessellation.Level out_level, out HPS.Exchange.Tessellation.Chord.Limit out_limit_type, out double out_limit, out double out_angle_tolerance)
 
bool ShowTessellationMaximumEdgeLength (out double out_length)
 
bool ShowTessellationPreservesUVPoints (out bool out_state)
 
HPS.Exchange.ModelFileImportOptionsKit UnsetAnnotationCaptureFitting ()
 
HPS.Exchange.ModelFileImportOptionsKit UnsetComputePreferredOpenShellOrientation ()
 
HPS.Exchange.ModelFileImportOptionsKit UnsetEverything ()
 
HPS.Exchange.ModelFileImportOptionsKit UnsetGeometryDefaultColor ()
 
HPS.Exchange.ModelFileImportOptionsKit UnsetHiddenObjects ()
 
HPS.Exchange.ModelFileImportOptionsKit UnsetIFCEdges ()
 
HPS.Exchange.ModelFileImportOptionsKit UnsetLocation ()
 
HPS.Exchange.ModelFileImportOptionsKit UnsetNURBSConversion ()
 
HPS.Exchange.ModelFileImportOptionsKit UnsetPMIFlipping ()
 
HPS.Exchange.ModelFileImportOptionsKit UnsetSewingTolerance ()
 
HPS.Exchange.ModelFileImportOptionsKit UnsetTessellationAccuracy ()
 
HPS.Exchange.ModelFileImportOptionsKit UnsetTessellationCleanup ()
 
HPS.Exchange.ModelFileImportOptionsKit UnsetTessellationLevel ()
 
HPS.Exchange.ModelFileImportOptionsKit UnsetTessellationMaximumEdgeLength ()
 
HPS.Exchange.ModelFileImportOptionsKit UnsetTessellationPreservesUVPoints ()
 
- Public Member Functions inherited from HPS.SprocketKit
SprocketKit (HPS.SprocketKit in_that)
 
- Public Member Functions inherited from HPS.Sprocket
Sprocket (HPS.Sprocket in_that)
 
- Public Member Functions inherited from HPS.Object
IntPtr GetClassID ()
 
IntPtr GetInstanceID ()
 
bool HasType (HPS.Type in_mask)
 
Object (HPS.Object that)
 
virtual void Reset ()
 
virtual HPS.Type Type ()
 

Static Public Member Functions

static HPS.Exchange.ModelFileImportOptionsKit GetDefault ()
 
static bool operator!= (HPS.Exchange.ModelFileImportOptionsKit a, HPS.Exchange.ModelFileImportOptionsKit b)
 
static bool operator== (HPS.Exchange.ModelFileImportOptionsKit a, HPS.Exchange.ModelFileImportOptionsKit b)
 
- Static Public Member Functions inherited from HPS.Object
static IntPtr ClassID< T > ()
 

Protected Member Functions

override void deleteCptr ()
 
- Protected Member Functions inherited from HPS.Object
virtual IntPtr GetNonDirectorClassID ()
 

Additional Inherited Members

- Protected Attributes inherited from HPS.Object
bool cMemOwn
 
HandleRef cptr
 

Detailed Description

The HPS.Exchange.ModelFileImportOptionsKit class is a user space object. It contains settings (potentially) controlling how data is imported via Exchange. This particular options kit is used when importing an A3DAsmModelFile directly (see Exchange.File.Import(void*,const ModelFileImportOptionsKit&)) and as such the options will only be used if the A3DAsmModelFile permits (e.g., tessellation options will only be used if tessellation needs to be generated and the A3DAsmModelFile has BRep data). Calling HPS.Exchange.ModelFileImportOptionsKit.GetDefault() will return an options kit with values found in here.

Constructor & Destructor Documentation

◆ ModelFileImportOptionsKit() [1/2]

HPS.Exchange.ModelFileImportOptionsKit.ModelFileImportOptionsKit ( )
inline

The default constructor creates an empty ModelFileImportOptionsKit object.

◆ ModelFileImportOptionsKit() [2/2]

HPS.Exchange.ModelFileImportOptionsKit.ModelFileImportOptionsKit ( HPS.Exchange.ModelFileImportOptionsKit  in_kit)
inline

The copy constructor creates a new ModelFileImportOptionsKit object that contains the same settings as the source ModelFileImportOptionsKit.

Parameters
in_kitThe source ModelFileImportOptionsKit to copy.

Member Function Documentation

◆ Empty()

override bool HPS.Exchange.ModelFileImportOptionsKit.Empty ( )
inlinevirtual

Indicates whether this ModelFileImportOptionsKit has any values set on it.

Returns
true if no values are set on this ModelFileImportOptionsKit, false otherwise.

Reimplemented from HPS.Object.

◆ Equals()

bool HPS.Exchange.ModelFileImportOptionsKit.Equals ( HPS.Exchange.ModelFileImportOptionsKit  in_kit)
inline

Check if the source ModelFileImportOptionsKit is equivalent to this ModelFileImportOptionsKit.

Parameters
in_kitThe source ModelFileImportOptionsKit to compare to this ModelFileImportOptionsKit.
Returns
true if the objects are equivalent, false otherwise.

◆ GetDefault()

static HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.GetDefault ( )
inlinestatic

Creates an ModelFileImportOptionsKit which contains the default settings. The returned object will not necessarily have values set for every option, but it will have settings for those options where it is reasonable to have a default. These values will be used for import unless an option is overridden by the options passed to File.Import(void*,const ModelFileImportOptionsKit&).

Returns
A ModelFileImportOptionsKit with the default settings.

◆ ObjectType()

override HPS.Type HPS.Exchange.ModelFileImportOptionsKit.ObjectType ( )
inlinevirtual

This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).

Returns
The declared type of the object in question, which may differ from the true, underlying type.

Reimplemented from HPS.SprocketKit.

◆ Set()

void HPS.Exchange.ModelFileImportOptionsKit.Set ( HPS.Exchange.ModelFileImportOptionsKit  in_kit)
inline

Copies the source ModelFileImportOptionsKit into this ModelFileImportOptionsKit.

Parameters
in_kitThe source ModelFileImportOptionsKit to copy.

◆ SetAnnotationCaptureFitting()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.SetAnnotationCaptureFitting ( HPS.Exchange.AnnotationCaptureFitting  in_fitting)
inline

Sets the type of data that should be used to generate the camera for annotation captures.

Parameters
in_fittingThe type of fitting to use for annotation captures.
Returns
A reference to this ModelFileImportOptionsKit.

◆ SetComputePreferredOpenShellOrientation()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.SetComputePreferredOpenShellOrientation ( bool  in_state)
inline

This option lets you redirect the normal of non-solid bodies. eg: when a body is not able to be sewed closed it still has the notion of an inside and outside. the in_state will be passed to A3DSewOptionsData With this option, you are asking Exchange to use a predictive algorithm to correctly identify inside vs outside.

Parameters
in_stateThe state of the option used when importing a file
Returns
A reference to this ModelFileImportOptionsKit.

◆ SetGeometryDefaultColor()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.SetGeometryDefaultColor ( HPS.RGBAColor  in_color)
inline

Sets the color to use for non-PMI geometry in the CAD file if none is specified.

Parameters
in_colorThe color to use for non-PMI geometry in the CAD file if none is specified.
Returns
A reference to this ModelFileImportOptionsKit.
See also
SetPMIDefaultColor

◆ SetHiddenObjects()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.SetHiddenObjects ( bool  in_state)
inline

Sets whether we import the hidden objects from the CAD Model or not. The in_state will be passed to A3DRWParamsGeneralData::m_bReadHiddenObjects With this option, you are asking Exchange read the objects that are marked as hidden or graphics removed.

Parameters
in_stateThe state of the option used when importing a file
Returns
A reference to this ModelFileImportOptionsKit.

◆ SetIFCEdges()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.SetIFCEdges ( bool  in_state)
inline

Sets whether to import edges for IFC files When this is set to false the import time will decrease. It is still possible to achieve visual fidelity by turning on hard edge visibility.

Parameters
in_stateWhether to import edges for an IFC file.
Returns
A reference to this ModelFileImportOptionsKit.
See also
Default value

◆ SetLocation() [1/2]

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.SetLocation ( HPS.ComponentPath  in_path,
HPS.MatrixKit  in_transform 
)
inline

Sets where to insert the imported file in an existing Component hieararchy. If this option is not set, a new CADModel will be created for the imported file. If this option is specified, the underlying PRC data of the existing CADModel will be modified to include the imported file and the data will be imported into the specified location in the existing Component hierarchy and its corresponding scene graph.

Parameters
in_pathThe path describing the location to insert the imported file into. This path must either terminate at a CADModel or a Component corresponding to an A3DAsmProductOccurrence. Note that if the imported file is added along a ComponentPath with attributes specified in the PRC data, the components added to the existing PRC data will also inherit those attributes. Note also that if the path is just a CADModel, a new A3DAsmModelFile underyling the CADModel must be created to include both the existing product occurrences and the new product occurrences. This new A3DAsmModelFile will be owned by the CADModel being imported into (see CADModel.GetEntityOwnership), but the existing A3DAsmModelFile will still need to be cleaned up via A3DAsmModelFileDelete since it was not owned by the CADModel.
in_transformA transform to apply to the components being added to the existing CADModel. This transform will also be added to the underlying PRC data. Defaults to an identity transform.
Returns
A reference to this ModelFileImportOptionsKit.

◆ SetLocation() [2/2]

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.SetLocation ( HPS.ComponentPath  in_path)
inline

Sets where to insert the imported file in an existing Component hieararchy. If this option is not set, a new CADModel will be created for the imported file. If this option is specified, the underlying PRC data of the existing CADModel will be modified to include the imported file and the data will be imported into the specified location in the existing Component hierarchy and its corresponding scene graph.

Parameters
in_pathThe path describing the location to insert the imported file into. This path must either terminate at a CADModel or a Component corresponding to an A3DAsmProductOccurrence. Note that if the imported file is added along a ComponentPath with attributes specified in the PRC data, the components added to the existing PRC data will also inherit those attributes. Note also that if the path is just a CADModel, a new A3DAsmModelFile underyling the CADModel must be created to include both the existing product occurrences and the new product occurrences. This new A3DAsmModelFile will be owned by the CADModel being imported into (see CADModel.GetEntityOwnership), but the existing A3DAsmModelFile will still need to be cleaned up via A3DAsmModelFileDelete since it was not owned by the CADModel.
Returns
A reference to this ModelFileImportOptionsKit.

◆ SetNURBSConversion()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.SetNURBSConversion ( HPS.Exchange.NURBSConversionOptionsKit  in_nurbs_conversion_options)
inline

Converts the curves and surfaces of the model file according to the options specified.

Parameters
in_nurbs_conversion_optionsThe options to use during conversion
Returns
A reference to this ModelFileImportOptionsKit.

◆ SetSewingTolerance()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.SetSewingTolerance ( double  in_tolerance)
inline

The sewing tolerance to use on the A3DAsmModelFile prior to generating the scene graph. If this option is set, prior to generating the scene graph, the A3DAsmModelFile will be passed to A3DAsmModelFileSew with this tolerance.

Parameters
in_toleranceThe sewing tolerance to use on the A3DAsmModelFile.
Returns
A reference to this ModelFileImportOptionsKit.

◆ SetTessellationAccuracy() [1/4]

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.SetTessellationAccuracy ( HPS.Exchange.Tessellation.Accuracy  in_type,
bool  in_accurate_normals,
bool  in_accurate_surface_curvatures,
double  accurate_grid_maximum_stitch_length 
)
inline

Sets the accuracy of the tessellation that will be generated for BRep data.

Parameters
in_typeThe accuracy to use for tessellation generation.
in_accurate_normalsWhether to compute surface normals when performing accurate tessellation. This only applies if in_type is set different than Tessellation.Accuracy.Standard. This correspond to the (negated) value that will be passed to A3DRWParamsTessellationData::m_bDoNotComputeNormalsInAccurateTessellation.
in_accurate_surface_curvaturesWhether to take into account surfaces curvature in accurate tessellation to controle triangles elongation directions. This only applies if in_type is different than Tessellation.Accuracy.Standard. This correspond to the value that will be passed to A3DRWParamsTessellationData::m_bAccurateSurfaceCurvatures.
accurate_grid_maximum_stitch_lengthMaximal grid stitch length. Disabled if value is 0. Be careful, a too small value can generate a huge tessellation. This only applies if in_type is set to Tessellation.Accuracy.GridAccurate. This correspond to the value that will be passed to A3DRWParamsTessellationData::m_bAccurateTessellationWithGrid .
Returns
A reference to this ModelFileImportOptionsKit.
See also
Default value

◆ SetTessellationAccuracy() [2/4]

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.SetTessellationAccuracy ( HPS.Exchange.Tessellation.Accuracy  in_type,
bool  in_accurate_normals,
bool  in_accurate_surface_curvatures 
)
inline

Sets the accuracy of the tessellation that will be generated for BRep data.

Parameters
in_typeThe accuracy to use for tessellation generation.
in_accurate_normalsWhether to compute surface normals when performing accurate tessellation. This only applies if in_type is set different than Tessellation.Accuracy.Standard. This correspond to the (negated) value that will be passed to A3DRWParamsTessellationData::m_bDoNotComputeNormalsInAccurateTessellation.
in_accurate_surface_curvaturesWhether to take into account surfaces curvature in accurate tessellation to controle triangles elongation directions. This only applies if in_type is different than Tessellation.Accuracy.Standard. This correspond to the value that will be passed to A3DRWParamsTessellationData::m_bAccurateSurfaceCurvatures.
Returns
A reference to this ModelFileImportOptionsKit.
See also
Default value

◆ SetTessellationAccuracy() [3/4]

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.SetTessellationAccuracy ( HPS.Exchange.Tessellation.Accuracy  in_type,
bool  in_accurate_normals 
)
inline

Sets the accuracy of the tessellation that will be generated for BRep data.

Parameters
in_typeThe accuracy to use for tessellation generation.
in_accurate_normalsWhether to compute surface normals when performing accurate tessellation. This only applies if in_type is set different than Tessellation.Accuracy.Standard. This correspond to the (negated) value that will be passed to A3DRWParamsTessellationData::m_bDoNotComputeNormalsInAccurateTessellation.
Returns
A reference to this ModelFileImportOptionsKit.
See also
Default value

◆ SetTessellationAccuracy() [4/4]

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.SetTessellationAccuracy ( HPS.Exchange.Tessellation.Accuracy  in_type)
inline

Sets the accuracy of the tessellation that will be generated for BRep data.

Parameters
in_typeThe accuracy to use for tessellation generation.
Returns
A reference to this ModelFileImportOptionsKit.
See also
Default value

◆ SetTessellationLevel() [1/2]

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.SetTessellationLevel ( HPS.Exchange.Tessellation.Level  in_level)
inline

Sets the predefined quality of the tessellation that will be generated for BRep data. This corresponds to the value that will be passed to A3DRWParamsTessellationData::m_eTessellationLevelOfDetail.

Parameters
in_levelThe predefined quality of the tessellation that will be generated for BRep data.
Returns
A reference to this ModelFileImportOptionsKit.
See also
Default value

◆ SetTessellationLevel() [2/2]

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.SetTessellationLevel ( HPS.Exchange.Tessellation.Chord.Limit  in_limit_type,
double  in_limit,
double  in_angle_tolerance 
)
inline

Sets the user defined quality of the tessellation that will be generated for BRep data. This implicitly sets A3DRWParamsTessellationData::m_eTessellationLevel to kA3DTessLODUserDefined.

Parameters
in_limit_typeThe type of the chord limit to be specified.
in_limitEither the ratio of the tessellation chord height to the bounding box height which should be in the range [50, 10000], or the maximum distance between the surface definition and the tessellation approximation, depending on the preceding argument.
in_angle_toleranceThe maximum angle in degrees between two consecutive wire elements in the generated tessellation which should be in the range [10, 40]. This corresponds to the value that will be passed to A3DRWParamsTessellationData::m_dAngleToleranceDeg.
Returns
A reference to this ModelFileImportOptionsKit.

◆ SetTessellationMaximumEdgeLength()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.SetTessellationMaximumEdgeLength ( double  in_length)
inline

Sets the maximum length of triangle edges in the tessellation generated for BRep data. This corresponds to the value that will be passed to A3DRWParamsTessellationData::m_dMaximalTriangleEdgeLength.

Parameters
in_lengthThe maximum length of triangle edges in the tessellation generated for BRep data. The value must be non-negative, and if set to 0.0, the length will not be used when generating the tessellation.
Returns
A reference to this ModelFileImportOptionsKit.
See also
Default value

◆ SetTessellationPreservesUVPoints()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.SetTessellationPreservesUVPoints ( bool  in_state)
inline

Sets whether to keep parametric points as texture coordinates when generating the tessellation for BRep data. This corresponds to the value that will be passed to A3DRWParamsTessellationData::m_bKeepUVPoints.

Parameters
in_stateWhether to keep parametric points as texture coordinates when generating the tessellation for BRep data.
Returns
A reference to this ModelFileImportOptionsKit.
See also
Default value

◆ Show()

void HPS.Exchange.ModelFileImportOptionsKit.Show ( out HPS.Exchange.ModelFileImportOptionsKit  out_kit)
inline

Copies this ModelFileImportOptionsKit into the given ModelFileImportOptionsKit.

Parameters
out_kitThe ModelFileImportOptionsKit to populate with the contents of this ModelFileImportOptionsKit.

◆ ShowAnnotationCaptureFitting()

bool HPS.Exchange.ModelFileImportOptionsKit.ShowAnnotationCaptureFitting ( out HPS.Exchange.AnnotationCaptureFitting  out_fitting)
inline

Shows the annotation capture fitting setting.

Parameters
out_fittingThe type of fitting to use for annotation captures.
Returns
true if an annotation capture fitting setting was specified, false otherwise.

◆ ShowComputePreferredOpenShellOrientation()

bool HPS.Exchange.ModelFileImportOptionsKit.ShowComputePreferredOpenShellOrientation ( out bool  out_state)
inline

Shows the compute preferred open shell orientation setting.

Parameters
out_stateThe compute preferred open shell orientation to use in the A3DSewOptionsData structure when importing a file.
Returns
true if compute preferred open shell orientation setting was specified, false otherwise.

◆ ShowGeometryDefaultColor()

bool HPS.Exchange.ModelFileImportOptionsKit.ShowGeometryDefaultColor ( out HPS.RGBAColor  out_color)
inline

Shows the geometry default color setting.

Parameters
out_colorThe geometry default color setting.
Returns
true if a geometry default color setting was specified, false otherwise.

◆ ShowHiddenObjects()

bool HPS.Exchange.ModelFileImportOptionsKit.ShowHiddenObjects ( out bool  out_state)
inline

Shows the read hidden objects setting.

Parameters
out_stateWhether to import hidden objects from the CAD model or not.
Returns
true if the read hidden objects setting was specified, false otherwise.

◆ ShowIFCEdges()

bool HPS.Exchange.ModelFileImportOptionsKit.ShowIFCEdges ( out bool  out_state)
inline

Shows the IFC edges setting.

Parameters
out_stateWhether to import edges for an IFC file.
Returns
true if an IFC edge setting was specified, false otherwise.

◆ ShowLocation()

bool HPS.Exchange.ModelFileImportOptionsKit.ShowLocation ( out HPS.ComponentPath  out_path,
out HPS.MatrixKit  out_transform 
)
inline

Shows the location setting.

Parameters
out_pathThe path describing the location to insert the imported file into.
out_transformThe transform to apply to the components being added to the existing CADModel.
Returns
true if a location setting was specified, false otherwise.

◆ ShowNURBSConversion()

bool HPS.Exchange.ModelFileImportOptionsKit.ShowNURBSConversion ( out HPS.Exchange.NURBSConversionOptionsKit  out_nurbs_conversion_options)
inline

Shows the NURBS conversion setting.

Parameters
out_nurbs_conversion_optionsThe options to be used during the conversion.
Returns
true if NURBS conversion setting was specified, false otherwise.

◆ ShowPMIFlipping()

bool HPS.Exchange.ModelFileImportOptionsKit.ShowPMIFlipping ( out bool  out_pmi_flipping)
inline

Shows the pmi flipping setting.

Parameters
out_pmi_flippingThe pmi flipping setting that was specified.
Returns
true if a pmi flipping setting was specified, false otherwise.

◆ ShowSewingTolerance()

bool HPS.Exchange.ModelFileImportOptionsKit.ShowSewingTolerance ( out double  out_tolerance)
inline

Shows the sewing tolerance setting.

Parameters
out_toleranceThe sewing tolerance to use on the A3DAsmModelFile prior to generating the scene graph.
Returns
true if a sewing tolerance setting was specified, false otherwise.

◆ ShowTessellationAccuracy()

bool HPS.Exchange.ModelFileImportOptionsKit.ShowTessellationAccuracy ( out HPS.Exchange.Tessellation.Accuracy  out_type,
out bool  out_accurate_normals,
out bool  out_accurate_surface_curvatures,
out double  out_accurate_grid_maximum_stitch_length 
)
inline

Shows the tessellation accuracy setting.

Parameters
out_typeThe type of the tessellation accuracy which was specified.
out_accurate_normalsWhether to compute surface normals when performing accurate tessellation. This only applies if out_type is different than Tessellation.Accuracy.Standard.
out_accurate_surface_curvaturesWhether to take into account surfaces curvature in accurate tessellation to controle triangles elongation directions. This only applies if out_type is different than Tessellation.Accuracy.Standard.
out_accurate_grid_maximum_stitch_lengthMaximal grid stitch length. Disabled if value is 0. Be careful, a too small value can generate a huge tessellation. This only applies if out_type is Tessellation.Accuracy.GridAccurate.
Returns
true if a tessellation accuracy setting was specified, false otherwise.

◆ ShowTessellationCleanup()

bool HPS.Exchange.ModelFileImportOptionsKit.ShowTessellationCleanup ( out bool  out_cleanup)
inline

Shows the tessellation cleanup setting.

Parameters
out_cleanupThe tesselation cleanup setting that was specified.
Returns
true if a tessellation cleanup setting was specified, false otherwise.

◆ ShowTessellationLevel()

bool HPS.Exchange.ModelFileImportOptionsKit.ShowTessellationLevel ( out HPS.Exchange.Tessellation.Type  out_type,
out HPS.Exchange.Tessellation.Level  out_level,
out HPS.Exchange.Tessellation.Chord.Limit  out_limit_type,
out double  out_limit,
out double  out_angle_tolerance 
)
inline

Shows the tessellation level setting.

Parameters
out_typeThe type of the tessellation level setting which was specified.
out_levelThe predefined quality of the tessellation that will be generated for BRep data. This is only valid if out_type is Tessellation.Type.Standard.
out_limit_typeThe type of chord limit which was specified. This is only valid if out_type is Tessellation.Type.Custom.
out_limitThe chord limit to use to generate tessellation for BRep data. Its interpretation depends on the preceding argument. This is only valid if out_type is Tessellation.Type.Custom.
out_angle_toleranceThe maximum angle in degrees between two consecutive wire elements in the generated tessellation. This is only valid if out_type is Tessellation.Type.Custom.
Returns
true if a tessellation level setting was specified, false otherwise.

◆ ShowTessellationMaximumEdgeLength()

bool HPS.Exchange.ModelFileImportOptionsKit.ShowTessellationMaximumEdgeLength ( out double  out_length)
inline

Shows the tessellation maximum edge length setting.

Parameters
out_lengthThe tessellation maximum edge length setting.
Returns
true if a tessellation maximum edge length setting was specified, false otherwise.

◆ ShowTessellationPreservesUVPoints()

bool HPS.Exchange.ModelFileImportOptionsKit.ShowTessellationPreservesUVPoints ( out bool  out_state)
inline

Shows the tessellation UV preservation setting.

Parameters
out_stateWhether to keep parametric points as texture coordinates when generating the tessellation for BRep data.
Returns
true if a tessellation UV preservation setting was specified, false otherwise.

◆ UnsetAnnotationCaptureFitting()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.UnsetAnnotationCaptureFitting ( )
inline

Removes the annotation capture fitting setting.

Returns
A reference to this ModelFileImportOptionsKit.

◆ UnsetComputePreferredOpenShellOrientation()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.UnsetComputePreferredOpenShellOrientation ( )
inline

Removes the compute preferred open shell orientation setting.

Returns
A reference to this ModelFileImportOptionsKit.

◆ UnsetEverything()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.UnsetEverything ( )
inline

Removes all settings from this ModelFileImportOptionsKit.

Returns
A reference to this ModelFileImportOptionsKit.

◆ UnsetGeometryDefaultColor()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.UnsetGeometryDefaultColor ( )
inline

Removes the geometry default color setting.

Returns
A reference to this ModelFileImportOptionsKit.

◆ UnsetHiddenObjects()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.UnsetHiddenObjects ( )
inline

Removes the read hidden objects setting.

Returns
A reference to this ModelFileImportOptionsKit.

◆ UnsetIFCEdges()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.UnsetIFCEdges ( )
inline

Removes the IFC edges setting.

Returns
A reference to this ModelFileImportOptionsKit.

◆ UnsetLocation()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.UnsetLocation ( )
inline

Removes the location setting.

Returns
A reference to this ModelFileImportOptionsKit.

◆ UnsetNURBSConversion()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.UnsetNURBSConversion ( )
inline

Removes the NURBS conversion setting.

Returns
A reference to this ModelFileImportOptionsKit.

◆ UnsetPMIFlipping()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.UnsetPMIFlipping ( )
inline

Removes the pmi flipping setting.

Returns
A reference to this ImportOptionsKit.

◆ UnsetSewingTolerance()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.UnsetSewingTolerance ( )
inline

Removes the sewing tolerance setting.

Returns
A reference to this ModelFileImportOptionsKit.

◆ UnsetTessellationAccuracy()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.UnsetTessellationAccuracy ( )
inline

Removes the tessellation accuracy setting.

Returns
A reference to this ModelFileImportOptionsKit.

◆ UnsetTessellationCleanup()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.UnsetTessellationCleanup ( )
inline

Removes the tessellation cleanup setting.

Returns
A reference to this ImportOptionsKit.

◆ UnsetTessellationLevel()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.UnsetTessellationLevel ( )
inline

Removes the tessellation level setting.

Returns
A reference to this ModelFileImportOptionsKit.

◆ UnsetTessellationMaximumEdgeLength()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.UnsetTessellationMaximumEdgeLength ( )
inline

Removes the tessellation maximum edge length setting.

Returns
A reference to this ModelFileImportOptionsKit.

◆ UnsetTessellationPreservesUVPoints()

HPS.Exchange.ModelFileImportOptionsKit HPS.Exchange.ModelFileImportOptionsKit.UnsetTessellationPreservesUVPoints ( )
inline

Removes the tessellation UV preservation setting.

Returns
A reference to this ModelFileImportOptionsKit.

The documentation for this class was generated from the following file:
  • internals/hps_sprk_exchange/source/cs/HPS.Exchange.cs