HPS::Exchange::ImportOptionsKit
-
class HPS::Exchange::ImportOptionsKit : public HPS::SprocketKit
The HPS::Exchange::ImportOptionsKit class is a user space object. It contains settings controlling what and how data is imported via Exchange. Calling HPS::Exchange::ImportOptionsKit::GetDefault() will return an options kit with values found in here.
Public Functions
-
virtual bool Empty() const
Indicates whether this ImportOptionsKit has any values set on it.
- Returns
true if no values are set on this ImportOptionsKit, false otherwise.
-
bool Equals(ImportOptionsKit const &in_kit) const
Check if the source ImportOptionsKit is equivalent to this ImportOptionsKit.
- Parameters
in_kit – The source ImportOptionsKit to compare to this ImportOptionsKit.
- Returns
true if the objects are equivalent, false otherwise.
-
ImportOptionsKit()
The default constructor creates an empty ImportOptionsKit object.
-
ImportOptionsKit(ImportOptionsKit &&in_that)
The move constructor creates an ImportOptionsKit by transferring the underlying impl of the rvalue reference to this ImportOptionsKit thereby avoiding a copy and allocation.
- Parameters
in_that – An rvalue reference to an ImportOptionsKit to take the impl from.
-
ImportOptionsKit(ImportOptionsKit const &in_kit)
The copy constructor creates a new ImportOptionsKit object that contains the same settings as the source ImportOptionsKit.
- Parameters
in_kit – The source ImportOptionsKit to copy.
-
inline virtual HPS::Type ObjectType() const
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.
-
bool operator!=(ImportOptionsKit const &in_kit) const
Check if the source ImportOptionsKit is not equivalent to this ImportOptionsKit.
- Parameters
in_kit – The source ImportOptionsKit to compare to this ImportOptionsKit.
- Returns
true if the objects are not equivalent, false otherwise.
-
ImportOptionsKit &operator=(ImportOptionsKit &&in_that)
The move assignment operator transfers the underlying impl of the rvalue reference to this ImportOptionsKit thereby avoiding a copy.
- Parameters
in_that – An rvalue reference to an ImportOptionsKit to take the impl from.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &operator=(ImportOptionsKit const &in_kit)
Copies the source ImportOptionsKit into this ImportOptionsKit.
- Parameters
in_kit – The source ImportOptionsKit to copy.
- Returns
A reference to this ImportOptionsKit.
-
bool operator==(ImportOptionsKit const &in_kit) const
Check if the source ImportOptionsKit is equivalent to this ImportOptionsKit.
- Parameters
in_kit – The source ImportOptionsKit to compare to this ImportOptionsKit.
- Returns
true if the objects are equivalent, false otherwise.
-
void Set(ImportOptionsKit const &in_kit)
Copies the source ImportOptionsKit into this ImportOptionsKit.
- Parameters
in_kit – The source ImportOptionsKit to copy.
-
ImportOptionsKit &SetActiveFilter(bool in_state)
Sets whether to only import data from the active filter in the CAD file. This corresponds to the value that will be passed to A3DRWParamsGeneralData::m_bReadActiveFilter.
- Parameters
in_state – Whether to only import data from the active filter in the CAD file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetAnnotationCaptureFitting(AnnotationCaptureFitting in_fitting)
Sets the type of data that should be used to generate the camera for annotation captures.
- Parameters
in_fitting – The type of fitting to use for annotation captures.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetAttributes(bool in_state)
Sets whether to import attributes (or metadata) from the CAD file. Even if attributes are not imported, some things like names and certain IDs will be available, though all other attributes will not be. This corresponds to the value that will be passed to A3DRWParamsGeneralData::m_bReadAttributes.
- Parameters
in_state – Whether to import attributes from the CAD file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetBRepMode(BRepMode in_mode)
Sets the import mode for BRep data in the CAD file. This corresponds to the value that will be passed to A3DRWParamsGeneralData::m_eReadGeomTessMode.
- Parameters
in_mode – The import mode for BRep data in the CAD file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetCatiaV4LogicalNameForRootDirectory(char const *in_name)
Sets the logical name for the root directory for a Catia V4 file. This corresponds to the value that will be passed to A3DRWParamsCatiaV4Data::m_pcRootDirLogicalName.
- Parameters
in_name – UTF8-encoded logical name for the root directory for a Catia V4 file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetCatiaV4LogicalNameSearching(bool in_state)
Sets the whether to allow searching in additional logical names for a Catia V4 file. This corresponds to the value that will be passed to A3DRWParamsCatiaV4Data::m_bAllowSearchInOtherLogicalNames.
- Parameters
in_state – Whether to allow searching in addtional logical names for a Catia V4 file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetCatiaV5Cache(bool in_active, char const *in_path)
Sets whether to use the a cache for a Catia V5 file.
- Parameters
in_active – Whether the cache should be activated for a Catia V5 file. This corresponds to the value that will be passed to A3DRWParamsCatiaV5Data::m_bCacheActivation.
in_path – UTF8-encoded path to the folder to be used for the Catia V5 cache. This corresponds to the value that will be passed to and A3DRWParamsCatiaV5Data::m_pcCachePath.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetCatiaV5MaterialRendering(bool in_active)
Sets whether to use material for rendering for a Catia V5 file. The path to search for the materials needs to be specified through ImportOptionsKit::SetTextureDirectories.
- Parameters
in_active – Whether to use materials for rendering for a Catia V5 file. This corresponds to the value that will be passed to A3DRWParamsCatiaV5Data::m_bUseMaterialRendering.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetComputePreferredOpenShellOrientation(bool in_state)
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_state – The state of the option used when importing a file
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetConfiguration(char const *in_configuration)
Sets the configuration to import from a CAD file. This is only applicable to Catia V4, Solidworks and I-deas file formats. If no configuration is specified, the default configuration will be loaded if possible. This corresponds to the value that will be passed to A3DRWParamsMultiEntriesData::m_ppcEntries.
- Parameters
in_configuration – UTF8-encoded configuration name to import from a CAD file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetConfiguration(size_t in_count, UTF8 const in_configuration[])
Sets a nested configuration to import from a CAD file. This is only applicable to Catia V4, Solidworks and I-deas file formats. If no configuration is specified, the default configuration will be loaded if possible. These correspond to the values that will be passed to A3DRWParamsMultiEntriesData::m_ppcEntries.
- Parameters
in_count – Size of the following array.
in_configuration – List of nested configuration names to import from a CAD file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetConfiguration(UTF8Array const &in_configuration)
Sets a nested configuration to import from a CAD file. This is only applicable to Catia V4, Solidworks and I-deas file formats. If no configuration is specified, the default configuration will be loaded if possible. These correspond to the values that will be passed to A3DRWParamsMultiEntriesData::m_ppcEntries.
- Parameters
in_configuration – List of nested configuration names to import from a CAD file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetConstraintsInfo(bool in_state)
Sets whether to import constraints from the CAD file. This corresponds to the value that will be passed to A3DRWParamsGeneralData::m_bReadConstraints. Furthermore, assembly constraints are only supported in files of the following formats: CatiaV5.
- Parameters
in_state – Whether to import constraints info from the CAD file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetConstructionAndReferences(bool in_state)
Sets whether to import construction and references from the CAD file. This corresponds to the value that will be passed to A3DRWParamsGeneralData::m_bReadConstructionAndReferences.
- Parameters
in_state – Whether to import construction and references from the CAD file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetDefaultUnits(Units in_units)
Sets the units to use for a CAD file if it is not well defined. This corresponds to the value that will be passed to A3DRWParamsGeneralData::m_eDefaultUnit.
- Parameters
in_units – The units to use for the CAD file if it is not well defined.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetDrawings(bool in_state)
Sets whether to import drawings from the CAD file. This corresponds to the value that will be passed to A3DRWParamsGeneralData::m_eReadDrawings.
- Parameters
in_state – Whether to import 2d drawings from the CAD file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetExternalProductOccurrence(bool read_external_po)
Dictates whether Visualize will read the external data Product Occurrence in the PRC.
Note
In the PRC sometime Product Occurrence contains another Product Occurrence in its ExternalData. Normally Visualize will not include this level of Product Occurrence in its model tree, but by activate this we will have this level in the model tree.
- Parameters
read_external_po – Whether or not to have Visualize read the Product occurrence of the ExternalData.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetFeatureTrees(bool in_state)
Sets whether to import feature trees from the CAD file. This corresponds to the value that will be passed to A3DRWParamsGeneralData::m_bReadFeature. The following Import Options are incompatible with Feature Trees: sewing, importing a file using multiple processes, and using the Incremental import Mode. Furthermore, features are only supported in files of the following formats: CatiaV5, NX (also known as Unigraphics) and ProE (also known as Creo).
- Parameters
in_state – Whether to import feature trees from the CAD file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetGeometryDefaultColor(RGBAColor const &in_color)
Sets the color to use for non-PMI geometry in the CAD file if none is specified.
- Parameters
in_color – The color to use for non-PMI geometry in the CAD file if none is specified.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetHiddenObjects(bool in_state)
Sets whether to import hidden objects from the CAD file. This corresponds to the value that will be passed to A3DRWParamsGeneralData::m_bReadHiddenObjects.
- Parameters
in_state – Whether to import hidden objects from the CAD file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetIFCAttributeXMLFile(char const *in_filename)
Sets the file to write attribute data to in XML format for an IFC file. This corresponds to the value that will be passed to A3DRWParamsIFCData::m_pcXMLFilePathForAttributes.
- See
- See
- Parameters
in_filename – UTF8-encoded filename for attribute data.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetIFCCodePageName(char const *in_name)
Sets the code page name for an IFC file. This corresponds to the value that will be passed to A3DRWParamsIFCData::m_pcCodePageName.
- Parameters
in_name – UTF8-encoded code page name for an IFC file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetIFCEdges(bool in_state)
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_state – Whether to import edges for an IFC file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetIFCFaceOptimization(bool in_state)
Sets whether to optimize importing of faces. Setting this to true will reduce the number of polyhedra generated during the import. This corresponds to the value that will be passed to A3DRWParamsIFCData::m_bFACETED_BREPAsOnFace.
- Parameters
in_state – Whether to optimize face import for an IFC file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetIFCMetadata(bool in_state)
Sets whether to import all IFC metadata or to import only each part’s GloablID. . This corresponds to the value that will be passed to A3DRWParamsIFCData::m_bAttributesOnlyGlobalId.
- Parameters
in_state – Whether to import all IFC metadata or to import only each part’s GlobalID
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetIFCOpenings(bool in_state)
Sets whether to import opening elements for IFC files. This corresponds to the value that will be passed to A3DRWParamsIFCData::m_bReadOpeningElements.
- Parameters
in_state – Whether to import opening elements for an IFC file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetIFCOwnerHistoryOptimization(bool in_state)
Sets whether to optimize the setting of IFCOWNERHISTORY for an IFC file. This corresponds to the value that will be passed to A3DRWParamsIFCData::m_bIFCOWNERHISTORYOptimized.
- Parameters
in_state – Whether to optimize the setting of IFCOWNERHISTORY for an IFC file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetIFCRelationships(bool in_state)
Sets whether to import relationships for IFC files. This corresponds to the value that will be passed to A3DRWParamsIFCData::m_bReadRelationships.
- Parameters
in_state – Whether to import relationships for an IFC file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetIncrementalComponentPath(HPS::ComponentPath const &in_path)
The path to the product occurrence to load. This option should only be used if a file was imported incrementally (i.e., with the SetMode option set to ImportMode::Incremental) and the specified path has not already been loaded, otherwise an exception will be thrown from the ImportNotifier. Note that you can check the load status of a product occurrence by using ProductOccurrence::GetLoadStatus. The leaf of the path should be a product occurrence, though if it is not, the closest product occurrence in the path will be loaded. It is important to note that this option is mutually exclusive with the mode option, i.e., if one is set, the other will be unset.
- Parameters
in_path – The path to the product occurrence to load.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetIncrementalComponentPaths(HPS::ComponentPathArray const &in_paths)
The paths to the product occurrences to load. This option has the same behavior and limitations as SetIncrementalPath, but allows one to specify multiple paths to load.
- Parameters
in_paths – The paths to the product occurrences to load.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetIncrementalComponentPaths(size_t in_count, HPS::ComponentPath const in_paths[])
The paths to the product occurrences to load. This option has the same behavior and limitations as SetIncrementalPath, but allows one to specify multiple paths to load.
- Parameters
in_count – Size of the following array.
in_paths – The paths to the product occurrences to load.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetInventorEmbeddedTessellation(bool in_state)
Whether to use the tessellation embedded in the file, for Inventor files. This corresponds to the value that will be passed to A3DRWParamsInventorData::m_bUseTessForFile.
- Parameters
in_state – Whether to use the tessellation embedded in the file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetJTTessellationLevel(JT::TessellationLevel in_jt_tessellation_level)
Sets the tessellation level to load for JT files. This corresponds to the value that will be passed to A3DRWParamsJTData::m_eReadTessellationLevelOfDetail.
- Parameters
in_jt_tessellation_level – The tessellation level to load.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetLargeTranslationExtraction(bool in_state, intptr_t in_data_index, float in_cutoff_value)
When this option is enabled, translations that are deemed to be especially large compared to the model size are removed from the scene graph and instead imported as user data, at the index specified, on the segment where the translation would have been. Removing very large translation is useful to avoid visual artifacts due to loss in precision. Note that only part of a translation might be extracted. If you are adding a model to an existing scene through the SetLocation feature, and the original model was loaded using the SetLargeTranslationExtraction setting, the same data_index value should be used for the model being added to the existing scene, so that any translations previously extracted from the model can be taken into account during import.
- Parameters
in_state – Whether to enable large translation extraction
in_data_index – The index at which the user data representing the extracted translation will be stored
in_cutoff_value – The cutoff value which will be used to check for large translation
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetLargeTranslationExtraction(bool in_state, intptr_t in_data_index = 1)
When this option is enabled, translations that are deemed to be especially large compared to the model size are removed from the scene graph and instead imported as user data, at the index specified, on the segment where the translation would have been. Removing very large translation is useful to avoid visual artifacts due to loss in precision. Note that only part of a translation might be extracted. If you are adding a model to an existing scene through the SetLocation feature, and the original model was loaded using the SetLargeTranslationExtraction setting, the same data_index value should be used for the model being added to the existing scene, so that any translations previously extracted from the model can be taken into account during import.
- Parameters
in_state – Whether to enable large translation extraction
in_data_index – The index at which the user data representing the extracted translation will be stored
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetLocation(ComponentPath const &in_path, MatrixKit const &in_transform = MatrixKit())
Sets where to insert the imported file in an existing Component hierarchy. 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_path – The 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, and the existing A3DAsmModelFile will be deleted.
in_transform – A 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 ImportOptionsKit.
-
ImportOptionsKit &SetMode(ImportMode in_mode)
Sets the type of import to perform. If set to ImportMode::Incremental, only the structural components of the CAD file will be created, but the underlying representation items will not be loaded. These empty product occurrence objects can then be loaded by using the SetIncrementalComponentPath or SetIncrementalComponentPaths functions. If set to ImportMode::Complete, the CAD file will be imported respecting the other specified import options. It is important to note that incremental import can only be performed for certain formats (see ImportMode::Incremental for the specific formats). Trying to use incremental import with an unsupported format will cause the import to fail and an exception to be thrown by the ImportNotifier. Also it is important to note that this option is mutually exclusive with the incremental ComponentPath option, i.e., if one is set, the other will be unset.
- Parameters
in_mode – The type of import to perform.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetMultiProcessCount(unsigned int in_count)
Sets the number of processes to use when performing the import. This should be a value between 1 and the number of cores on your system.
- Deprecated:
This function has been deprecated.
Note
Values greater than 1 can only be used for imports of certain formats, in particular, JT, SolidWorks, NX (Unigraphics), Creo (Pro/E), and CATIA V5 files.
- Parameters
in_count – The number of processes to use when performing the import.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetNURBSConversion(HPS::Exchange::NURBSConversionOptionsKit const &in_nurbs_conversion_options)
Converts the curves and surfaces of the model file according to the options specified.
- Parameters
in_nurbs_conversion_options – The options to use during conversion
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetPDF3DStreamIndex(size_t in_index)
Sets the index into the list 3D streams contained in a PDF to load.
- Parameters
in_index – The index into the list of 3D stream contained in a PDF to load.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetPMI(bool in_state)
Sets whether to import PMI from the CAD file. This corresponds to the value that will be passed to A3DRWParamsGeneralData::m_bReadPmis.
- Parameters
in_state – Whether to import PMI from the CAD file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetPMIDefaultColor(RGBColor const &in_color, bool in_override_color = false)
Sets the color to use for the PMI in the CAD file if none is specified. This corresponds to the value that will be passed to A3DRWParamsPmiData::m_sDefaultColor. Optionally, it is possible to force all PMI to appear in the specified color. Thie corresponds to the value what will be passed to A3DRWParamsPmiData::m_bAlwaysUseDefaultColor.
- Parameters
in_color – The color to use for the PMI in the CAD file if none is specified.
in_override_color – Whether to force all PMIs to use the color specified by in_color.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetPMIDefaultUnits(Units in_units)
Sets the units to use for the PMI in the CAD file if it is not well defined. This corresponds to the value that will be passed to A3DRWParamsPmiData::m_eDefaultUnit.
- Parameters
in_units – The units to use for the PMI in the CAD file if it is not well defined.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetPMIFlipping(bool in_flip)
Dictates whether Visualize will flip pmi when rotating so that text / symbols remain readable.
Note
If exchange reports that a markup does not contain leader lines, but the tessellation does contain lines that markup will not be flipped. This is a precaution for models where the leader line geometry was included as part of the markup tessellation and flipping the geometry would cause any present leader lines to point in the wrong direction.
- Parameters
in_flip – Whether or not to have Visualize flip pmi when rotating.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetPMIPrecision(size_t in_precision)
Sets the precision to use for PMI which has no precision information in the CAD file. This corresponds to the value that will be passed to A3DRWParamsPmiData::m_iNumberOfDigitsAfterDot.
- Parameters
in_precision – The precision to use for PMI which has no precision information in the CAD file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetPMISubstitutionFont(char const *in_font_name, bool in_always_substitute = false)
Sets the font to use to replace those referenced by the CAD file but which are not present on the system.
- Parameters
in_font_name – UTF8-encoded name of the font to use to replaced those referenced by the CAD file but which are not present on the system. This corresponds to the value that will be passed to A3DRWParamsPmiData::m_pcSubstitutionFont.
in_always_substitute – Whether to always use this font even in place of those which are present on the system. This corresponds to the value that will be passed to A3DRWParamsPmiData::m_bAlwaysSubstituteFont.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetPRCReadHelper(bool in_use_helper)
Sets whether to create an A3DRWParamsPrcReadHelper when importing a PRC file or a PRC stream. The resulting A3DRWParamsPrcReadHelper can be accessed by Exchange::ImportNotifier::GetPRCReadHelper.
- Parameters
in_use_helper – Whether to create an A3DRWParamsPrcReadHelper during import.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetProECodePageName(char const *in_name)
Sets the code page name for a Pro/E file. This corresponds to the value that will be passed to A3DRWParamsProEData::m_pcCodePageName.
- Parameters
in_name – UTF8-encoded code page name for a Pro/E file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetProEConstructionEntities(ProE::ConstructionEntities in_state)
Sets whether to import construction entities for a Pro/E file This corresponds to the value that will be passed to A3DRWParamsProEData::m_eReadConstrucEntities.
- Parameters
in_state – Whether to import construction entities for a Pro/E file
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetProEDatum(bool in_source)
Sets whether datums are visible, for a Pro/E file This corresponds to the value that will be passed to A3DRWParamsProEData::m_bDisplayVisibleDatum.
- Parameters
in_source – Whether visible datums are visible for a Pro/E file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetProEDimensionTolerance(bool in_state)
Sets whether to import dimension tolerances for a Pro/E file. This corresponds to the value that will be passed to A3DRWParamsProEData::m_bDisplayTolerance.
- Parameters
in_state – Whether to import dimension tolerances for a Pro/E file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetProEExplodedViews(bool in_source)
Sets whether to create additional Views for a Pro/E file, with each view representing an explode state. This corresponds to the value that will be passed to A3DRWParamsProEData::m_bReadExplodeStateAsView.
- Parameters
in_source – Whether to create a views for exploded states, for a Pro/E file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetProEFamilyTableSource(ProE::FamilyTable in_source)
Sets the source for Family Tables for a Pro/E file This corresponds to the value that will be passed to A3DRWParamsProEData::m_eFamilyTables.
- Parameters
in_source – Sets the family tables source for a Pro/E file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetProEHomeView(bool in_source)
Sets whether to create an additional Home View for a Pro/E file. This view will reflect the state in which the file was saved. This corresponds to the value that will be passed to A3DRWParamsProEData::m_bComputeHomeView.
- Parameters
in_source – Whether to create a home view for a Pro/E file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetProEMissingBoolean(bool in_state)
Sets whether to import the entities making up a boolean operation for a Pro/E file, in the case where the tessellation for the result of this boolean operation cannot be found. This corresponds to the value that will be passed to A3DRWParamsProEData::m_bBoolOpUseGenericIfNoTess.
- Parameters
in_state – Whether to import the entities of a boolean operation for which there is no available tessellation for a Pro/E file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetProEMissingFlexibleComponent(bool in_state)
Sets whether to try to import a flexible component for a Pro/E file, even in the case where the tessellation for the component cannot be found. This corresponds to the value that will be passed to A3DRWParamsProEData::m_bFlexCompUseGenericIfNoTess.
- Parameters
in_state – Whether to always try to import a flexible component, even in the event of missing tessellation, for a Pro/E file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetProESessionColor(ProE::SessionColor in_type)
Sets the session color for a Pro/E file. This corresponds to the value that will be passed to A3DRWParamsProEData::m_eSessionColorType.
- Parameters
in_type – The session color for a Pro/E file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetProESkeletons(bool in_state)
Sets whether to import skeleton entities for a Pro/E file. This corresponds to the inverse value that will be passed to A3DRWParamsProEData::m_bHideSkeletons.
- Parameters
in_state – Whether import skeleton entities for a Pro/E file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetProESubpartPMI(bool in_state)
Sets whether to import subpart PMI for a Pro/E file. This corresponds to the value that will be passed to A3DRWParamsProEData::m_bDisplaySubpartAnnotations.
- Parameters
in_state – Whether to import subpart PMI for a Pro/E file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetRemovedViews(bool read_removed_views)
Dictates whether Visualize will read the views in the PRC that have kA3DGraphicsRemoved bit set.
Note
In the PRC sometime views in subassemblies or Part of the model file are marked with kA3DGraphicsRemoved bit. These views still exist in the PRC, however normally are ignored by viewer.
- Parameters
read_removed_views – Whether or not to have Visualize read the removed views in PRC.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetRevitPhysicalProperties(Revit::PhysicalProperties in_physical_properties)
Sets how physical properties are imported. By default, no physical property is imported. This setting also will only be taken into account only if we choose to import attributes from the model. This corresponds to the value that will be passed to A3DRWParamsRevitData::m_ePhysicalProperties.
- Parameters
in_physical_properties – Physical properties setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetRhinoForceRenderedModeColors(bool in_state)
Rhino files can be viewed in either ‘shaded’ mode or ‘render’ mode. By default the shaded mode colors will be imported. This function allows you to import render model colors instead. This corresponds to the value that will be passed to A3DRWParamsRhinoData::m_bForceRenderedModeColors.
- Parameters
in_state – Whether to force rendered mode colors instead of shading mode colors.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetSearchDirectories(size_t in_count, UTF8 const in_directories[], bool const in_recurse_flags[])
Sets the directories to search to find files referenced by a CAD assembly. If no search directories are set, the directory containing the CAD assembly will be searched recursively. These correspond to the values that will be passed to A3DRWParamsAssemblyData::m_ppcSearchDirectories.
- Parameters
in_count – Size of the following arrays.
in_directories – The directories to search for files references by a CAD assembly.
in_recurse_flags – Whether to search recursively in each of the corresponding directories.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetSearchDirectories(size_t in_count, UTF8 const in_directories[], UTF8 const in_logical_names[], bool const in_recurse_flags[])
Sets the directories to search to find files referenced by a CAD assembly. This variant additionally allows the specification of logical names for each search directory for use by Catia V4 files. If no search directories are set, the directory containing the CAD assembly will be searched recursively. These correspond to the values that will be passed to A3DRWParamsAssemblyData::m_ppcSearchDirectories.
- Parameters
in_count – Size of the following arrays.
in_directories – The directories to search for files references by a CAD assembly.
in_logical_names – The logical names for each corresponding directory. If there are no logical names for the directories, this value can be null.
in_recurse_flags – Whether to search recursively in each of the corresponding directories.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetSearchDirectories(UTF8Array const &in_directories, BoolArray const &in_recurse_flags)
Sets the directories to search to find files referenced by a CAD assembly. If no search directories are set, the directory containing the CAD assembly will be searched recursively. If the size of the directory and flag arrays are different, the smaller size will be used. These correspond to the values that will be passed to A3DRWParamsAssemblyData::m_ppcSearchDirectories.
- Parameters
in_directories – The directories to search for files references by a CAD assembly.
in_recurse_flags – Whether to search recursively in each of the corresponding directories.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetSearchDirectories(UTF8Array const &in_directories, UTF8Array const &in_logical_names, BoolArray const &in_recurse_flags)
Sets the directories to search to find files referenced by a CAD assembly. This variant additionally allows the specification of logical names for each search directory for use by Catia V4 files. If no search directories are set, the directory containing the CAD assembly will be searched recursively. If the size of the directory, (non-empty) logical name, or flag arrays are different, the smallest size will be used. These correspond to the values that will be passed to A3DRWParamsAssemblyData::m_ppcSearchDirectories.
- Parameters
in_directories – The directories to search for files references by a CAD assembly.
in_logical_names – The logical names for each corresponding directory. If there are no logical names for the directories, this array can be empty.
in_recurse_flags – Whether to search recursively in each of the corresponding directories.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetSearchDirectoriesByFile(size_t in_count, UTF8 const in_file_names[])
Sets the directories to search to find files referenced by a CAD assembly. This is an alternative manner to specify search directories by using text files which contain lists of directories to search. These correspond to the values will be passed to A3DRWParamsAssemblyData::m_ppcPathDefinitions.
- Parameters
in_count – Size of the following array.
in_file_names – The names of text files containing the lists of directories to search to find files referenced by a CAD assembly.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetSearchDirectoriesByFile(UTF8Array const &in_file_names)
Sets the directories to search to find files referenced by a CAD assembly. This is an alternative manner to specify search directories by using text files which contain lists of directories to search. These correspond to the values will be passed to A3DRWParamsAssemblyData::m_ppcPathDefinitions.
- Parameters
in_file_names – The names of text files containing the lists of directories to search to find files referenced by a CAD assembly.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetSearchRootDirectory(bool in_state, bool in_recursive = true)
Sets whether to search the CAD file root directory for sub-parts. The values passed to this function correspond to A3DRWParamsAssemblyData::m_bUseRootDirectory and A3DRWParamsAssemblyData::m_bRootDirRecursive respectively.
- Parameters
in_state – Whether to search the root CAD file directory for sub-parts
in_recursive – Whether to search subdirectories of the root directory for sub-parts. This option is only considered if in_state is true, and the subdirectories are only searched if the sub-parts are not found in the root directory.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetSewingTolerance(double in_tolerance)
The sewing tolerance to use on the A3DAsmModelFile after importing a file. If this option is set, after a file is successfully imported, the A3DAsmModelFile will be passed to A3DAsmModelFileSew with this tolerance.
- Parameters
in_tolerance – The sewing tolerance in millimeters to use on the A3DAsmModelFile after importing a file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetSolids(bool in_state)
Sets whether to import solids from the CAD file. This corresponds to the value that will be passed to A3DRWParamsGeneralData::m_bReadSolids.
- Parameters
in_state – Whether to import solids from the CAD file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetSolidworksDisplayVisibleDatum(bool in_state)
Manage the visibility of datum entities: if set to 0, visibility is hidden if set to 1, visibility is as in SLW feature tree manager This corresponds to the value that will be passed to A3DRWParamsSolidworksData::m_usDisplayVisibleDatum.
- Parameters
in_state – Whether to use the visibility defined in the file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetSTEPCodePageName(char const *in_name)
Sets the code page name for a STEP file. This corresponds to the value that will be passed to A3DRWParamsStepData::m_pcCodePageName
- Parameters
in_name – UTF8-encoded code page name for a STEP file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetSTEPFirstColorPreference(bool in_state)
Sets whether to prefer the first color if geometry has several colors for a STEP file. This corresponds to the value that will be passed to A3DRWParamsStepData::m_bPreferFirstColor.
- Parameters
in_state – Whether to prefer the first color if geometry has several colors for a STEP file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetSTEPNamePreference(STEP::Field in_field)
Sets the field to get the occurrence name from for a STEP file. These correspond to the value that will be passed to A3DRWParamsStepData::m_bPreferProductName and A3DRWParamsStepData::m_eNameFromNAUO.
- Parameters
in_field – The field to get the occurrence name from for a STEP file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetSTEPOrientationHealing(bool in_state)
Sets whether to heal orientations for a STEP file. This corresponds to the value that will be passed to A3DRWParamsStepData::m_bHealOrientations.
- Parameters
in_state – Whether to heal orientations for a STEP file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetSTEPShellBasedSurfaceModelSplitting(bool in_state)
Sets whether to split SHELL_BASED_SURFACE_MODEL with several OPEN_SHELLs into several bodies for a STEP file. This corresponds to the value that will be passed to A3DRWParamsStepData::m_bSplitSHELL_BASED_SURFACE_MODEL.
- Parameters
in_state – Whether to split SHELL_BASED_SURFACE_MODEL with several OPEN_SHELLs into several bodies for a STEP file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetSTEPValidationProperties(bool in_state)
Sets whether to import validation properties for a STEP file. This corresponds to the value that will be passed to A3DRWParamsStepData::m_bReadValidationProperties. This option is valid only if Attributes are being imported.
- Parameters
in_state – Whether to import validation properties for a STEP file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetSurfaces(bool in_state)
Sets whether to import surfaces from the CAD file. This corresponds to the value that will be passed to A3DRWParamsGeneralData::m_bReadSurfaces.
- Parameters
in_state – Whether to import surfaces from the CAD file.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetTessellationAccuracy(Tessellation::Accuracy in_type, bool in_accurate_normals = true, bool in_accurate_surface_curvatures = false, double in_accurate_grid_maximum_stitch_length = 0.0)
Sets the accuracy of the tessellation that will be generated for BRep data.
- Parameters
in_type – The accuracy to use for tessellation generation.
in_accurate_normals – Whether to compute surface normals when performing accurate tessellation. This only applies if in_type is set to Tessellation::Accuracy::Accurate or Tessellation::Accuracy::GridAccurate. This correspond to the (negated) value that will be passed to A3DRWParamsTessellationData::m_bDoNotComputeNormalsInAccurateTessellation.
in_accurate_surface_curvatures – Whether to take into account surfaces curvature in accurate tessellation to controle triangles elongation directions. This only applies if in_type is set to Tessellation::Accuracy::Accurate or Tessellation::Accuracy::GridAccurate. This correspond to the value that will be passed to A3DRWParamsTessellationData::m_bAccurateSurfaceCurvatures.
in_accurate_grid_maximum_stitch_length – Maximal 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_dAccurateTessellationWithGridMaximumStitchLength.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetTessellationCleanup(bool in_cleanup)
Dictates whether Exchange tesselation data will be released from their parent representation items during import.
Warning
Setting this option to true will cause future exports to output without tessellation data.
- Parameters
in_cleanup – Whether to clean up tessellation data from representation items.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetTessellationLevel(Tessellation::Chord::Limit in_limit_type, double in_limit, double in_angle_tolerance)
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_type – The type of the chord limit to be specified.
in_limit – Either 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_tolerance – The 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 ImportOptionsKit.
-
ImportOptionsKit &SetTessellationLevel(Tessellation::Level in_level)
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_level – The predefined quality of the tessellation that will be generated for BRep data.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetTessellationMaximumEdgeLength(double in_length)
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_length – The 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 ImportOptionsKit.
-
ImportOptionsKit &SetTessellationPreservesUVPoints(bool in_state)
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_state – Whether to keep parametric points as texture coordinates when generating the tessellation for BRep data.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetTextureDirectories(size_t in_count, UTF8 const in_directories[])
Sets the directories to search to find textures referenced by a CAD assembly. If no search directories are set, the directory containing the CAD assembly will be searched recursively. These correspond to the values that will be passed to A3DRWParamsGeneralData::m_ppcSearchTextureDirectories.
- Parameters
in_count – Size of the following arrays.
in_directories – The directories to search for textures referenced by a CAD assembly.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetTextureDirectories(UTF8Array const &in_directories)
Sets the directories to search to find textures referenced by a CAD assembly. If no search directories are set, the directory containing the CAD assembly will be searched recursively. These correspond to the values that will be passed to A3DRWParamsGeneralData::m_ppcSearchTextureDirectories.
- Parameters
in_directories – The directories to search for textures referenced by a CAD assembly.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetTrueColorMode(bool in_true_color)
Sets whether we use the true color coming from the software for model rendering.
- Parameters
in_true_color – Whether to use the exact RGB color value coming from the software. True: The exact RGB value from the diffuse channel is used to color the face. This is useful if you want to have exact value from the native software. Note: the color from the ambient channel will not be honored and some models may look different. False: Default mode. HOOPS Visualize uses ambient and diffuse channel to have a good looking material. The rendering color matches the model but the RGB value may differ slightly from the native model.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetUnigraphicsFittedCamera(bool in_state)
Sets whether to make view cameras fitted for a Unigraphics file.
- Parameters
in_state – Whether to make view cameras fit all visible geometry for a Unigraphics file. This corresponds to the value that will be passed to A3DRWParamsUnigraphicsData::m_bFitAllToUpdateViewCameras.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetUnigraphicsPreferredReferenceSets(size_t in_count, UTF8 const in_reference_sets[], bool in_apply_to_all_levels)
Sets the preferred reference sets for a Unigraphics file.
- Parameters
in_count – Size of the following array.
in_reference_sets – List of preferred references sets for a Unigraphics file. This corresponds to the value that will be passed to A3DRWParamsUnigraphicsData::m_ppcPreferredReferenceSets.
in_apply_to_all_levels – Whether the reference sets will apply to subassemblies for a Unigraphics file. This corresponds to the value that will be passed to A3DRWParamsUnigraphicsData::m_bApplyToAllLevels.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetUnigraphicsPreferredReferenceSets(UTF8Array const &in_reference_sets, bool in_apply_to_all_levels)
Sets the preferred reference sets for a Unigraphics file.
- Parameters
in_reference_sets – List of preferred references sets for a Unigraphics file. This corresponds to the value that will be passed to A3DRWParamsUnigraphicsData::m_ppcPreferredReferenceSets.
in_apply_to_all_levels – Whether the reference sets will apply to subassemblies for a Unigraphics file. This corresponds to the value that will be passed to A3DRWParamsUnigraphicsData::m_bApplyToAllLevels.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &SetWireframes(bool in_state)
Sets whether to import wireframes from the CAD file. This corresponds to the value that will be passed to A3DRWParamsGeneralData::m_bReadWireframes.
- Parameters
in_state – Whether to import wireframes from the CAD file.
- Returns
A reference to this ImportOptionsKit.
-
void Show(ImportOptionsKit &out_kit) const
Copies this ImportOptionsKit into the given ImportOptionsKit.
- Parameters
out_kit – The ImportOptionsKit to populate with the contents of this ImportOptionsKit.
-
bool ShowActiveFilter(bool &out_state) const
Shows the active filter import setting.
- Parameters
out_state – Whether to only import data from the active filter in the CAD file.
- Returns
true if an active filter import setting was specified, false otherwise.
-
bool ShowAnnotationCaptureFitting(AnnotationCaptureFitting &out_fitting) const
Shows the annotation capture fitting setting.
- Parameters
out_fitting – The type of fitting to use for annotation captures.
- Returns
true if an annotation capture fitting setting was specified, false otherwise.
-
bool ShowAttributes(bool &out_state) const
Shows the attribute import setting.
- Parameters
out_state – Whether to import attributes from the CAD file.
- Returns
true if an attribute import setting was specified, false otherwise.
-
bool ShowBRepMode(BRepMode &out_mode) const
Shows the BRep mode import setting.
- Parameters
out_mode – The import mode for BRep data in the CAD file.
- Returns
true if a BRep mode import setting was specified, false otherwise.
-
bool ShowCatiaV4LogicalNameForRootDirectory(UTF8 &out_name) const
Shows the Catia V4 logical name for the root directory.
- Parameters
out_name – The Catia V4 logical name for the root directory.
- Returns
true if a Catia V4 logical name for the root directory setting was specified, false otherwise.
-
bool ShowCatiaV4LogicalNameSearching(bool &out_state) const
Shows the Catia V4 logical name searching setting.
- Parameters
out_state – Whether to allow searching in addtional logical names for a Catia V4 file.
- Returns
true if a Catia V4 logical name searching setting was specified, false otherwise.
-
bool ShowCatiaV5Cache(bool &out_active, UTF8 &out_path) const
Shows the Catia V5 cache setting.
- Parameters
out_active – Whether the cache should be activated for a Catia V5 file.
out_path – The path to the folder to be used for the Catia V5 cache.
- Returns
true if a Catia V5 cache setting was specified, false otherwise.
-
bool ShowCatiaV5MaterialRendering(bool &out_active) const
Shows the Catia V5 material rendering setting.
- Parameters
out_active – Whether the option material rendering should be activated for a Catia V5 file.
- Returns
true if a Catia V5 material rendering setting was specified, false otherwise.
-
bool ShowComputePreferredOpenShellOrientation(bool &out_state) const
Shows the compute preferred open shell orientation setting.
- Parameters
out_state – The 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.
-
bool ShowConfiguration(UTF8Array &out_configuration) const
Shows the configuration settting.
- Parameters
out_configuration – List of nested configuration names to import from a CAD file.
- Returns
true if a configuation setting was specified, false otherwise.
-
bool ShowConstraintsInfo(bool &out_state) const
Shows the constraints import setting.
- Parameters
out_state – Whether to import constraints info from the CAD file.
- Returns
true if a constraints info import setting was specified, false otherwise.
-
bool ShowConstructionAndReferences(bool &out_state) const
Shows the construction and references import setting.
- Parameters
out_state – Whether to import construction and references from the CAD file.
- Returns
true if a construction and references import setting was specified, false otherwise.
-
bool ShowDefaultUnits(Units &out_units) const
Shows the default units setting.
- Parameters
out_units – The default units setting.
- Returns
true if a default units setting was specified, false otherwise.
-
bool ShowDrawings(bool &out_state) const
Shows the drawings import setting.
- Parameters
out_state – Whether to import 2d drawings from the CAD file.
- Returns
true if a drawings import setting was specified, false otherwise.
-
bool ShowExternalProductOccurrence(bool &out_read_external_po) const
Shows the read external data Product Occurrence setting.
- Parameters
out_read_external_po – The read external data Product Occurrence setting that was specified.
- Returns
true if a read external data Product Occurrence setting was specified, false otherwise.
-
bool ShowFeatureTrees(bool &out_state) const
Shows the feature trees import setting.
- Parameters
out_state – Whether to import feature trees from the CAD file.
- Returns
true if a feature trees import setting was specified, false otherwise.
-
bool ShowGeometryDefaultColor(RGBAColor &out_color) const
Shows the geometry default color setting.
- Parameters
out_color – The geometry default color setting.
- Returns
true if a geometry default color setting was specified, false otherwise.
-
bool ShowHiddenObjects(bool &out_state) const
Shows the hidden objects import setting.
- Parameters
out_state – Whether to import hidden objects from the CAD file.
- Returns
true if a hidden objects import setting was specified, false otherwise.
-
bool ShowIFCAttributeXMLFile(UTF8 &out_filename) const
Shows the IFC attribute XML file setting.
- Parameters
out_filename – The filename for attribute data for an IFC file.
- Returns
true if an IFC attribute XML file setting was specified, false otherwise.
-
bool ShowIFCCodePageName(UTF8 &out_name) const
Shows the IFC code page name setting.
- Parameters
out_name – The code page name for an IFC file.
- Returns
true if an IFC code page name setting was specified, false otherwise.
-
bool ShowIFCEdges(bool &out_state) const
Shows the IFC edges setting.
- Parameters
out_state – Whether to import edges for an IFC file.
- Returns
true if an IFC edge setting was specified, false otherwise.
-
bool ShowIFCFaceOptimization(bool &out_state) const
Shows the IFC face optimization setting.
- Parameters
out_state – Whether to optimize face import for an IFC file.
- Returns
true if an IFC face optimization setting was specified, false otherwise.
-
bool ShowIFCMetadata(bool &out_state) const
Shows the IFC metadata setting.
- Parameters
out_state – Whether to import all IFC metadata or just each part’s GloablID
- Returns
true if an IFC metadata setting was specified, false otherwise.
-
bool ShowIFCOpenings(bool &out_state) const
Shows the IFC openings setting.
- Parameters
out_state – Whether to import openings for an IFC file.
- Returns
true if an IFC openings setting was specified, false otherwise.
-
bool ShowIFCOwnerHistoryOptimization(bool &out_state) const
Shows the IFC owner history optimization setting.
- Parameters
out_state – Whether to optimize the setting of IFCOWNERHISTORY for an IFC file.
- Returns
true if an IFC owner history optimization setting was specified, false otherwise.
-
bool ShowIFCRelationships(bool &out_state) const
Shows the IFC relationships setting.
- Parameters
out_state – Whether to import relationships for an IFC file.
- Returns
true if an IFC relationships setting was specified, false otherwise.
-
bool ShowIncrementalComponentPaths(HPS::ComponentPathArray &out_paths) const
Shows the incremental ComponentPaths setting.
- Parameters
out_paths – The paths to the product occurrences to load.
- Returns
true if an incremental ComponentPaths setting was specified, false otherwise.
-
bool ShowInventorEmbeddedTessellation(bool &out_state) const
Shows the Inventor embedded tessellation setting.
- Parameters
out_state – The embedded tessellation setting for Inventor files.
- Returns
true if an Inventor embedded tessellation setting was specified, false otherwise.
-
bool ShowJTTessellationLevel(JT::TessellationLevel &out_tessellation_level) const
Shows the JT tessellation level setting.
-
bool ShowLargeTranslationExtraction(bool &out_state, intptr_t &out_data_index, float &out_cutoff_value) const
Shows the large translation extraction setting.
- Parameters
out_state – Whether to extract large translations during an import.
out_data_index – The index at which the user data representing the extracted translation will be stored
out_cutoff_value – The cutoff value that was used to check for large translation
- Returns
true if a large translation extraction setting was specified, false otherwise.
-
bool ShowLocation(ComponentPath &out_path, MatrixKit &out_transform) const
Shows the location setting.
- Parameters
out_path – The path describing the location to insert the imported file into.
out_transform – The transform to apply to the components being added to the existing CADModel.
- Returns
true if a location setting was specified, false otherwise.
-
bool ShowMode(ImportMode &out_mode) const
Shows the mode setting.
- Parameters
out_mode – The type of import to perform.
- Returns
true if a mode setting was specified, false otherwise.
-
bool ShowMultiProcessCount(unsigned int &out_count) const
Shows the multi-process count setting.
- Parameters
out_count – The number of processes to use when performing the import.
- Returns
true if a multi-process count setting was specified, false otherwise.
-
bool ShowNURBSConversion(HPS::Exchange::NURBSConversionOptionsKit &out_nurbs_conversion_options) const
Shows the NURBS conversion setting.
- Parameters
out_nurbs_conversion_options – The options to be used during the conversion.
- Returns
true if NURBS conversion setting was specified, false otherwise.
-
bool ShowPDF3DStreamIndex(size_t &out_index) const
Shows the PDF 3D stream index setting.
- Parameters
out_index – The index into the list of 3D stream contained in a PDF to load.
- Returns
true if a PDF 3D stream index setting was specified, false otherwise.
-
bool ShowPMI(bool &out_state) const
Shows the PMI import setting.
- Parameters
out_state – Whether to import PMI from the CAD file.
- Returns
true if a PMI import setting was specified, false otherwise.
-
bool ShowPMIDefaultColor(RGBColor &out_color, bool &out_override) const
Shows the PMI default color setting.
- Parameters
out_color – The PMI default color setting.
out_override – Whether out_color overrides all PMI color
- Returns
true if a PMI default color setting was specified, false otherwise.
-
bool ShowPMIDefaultUnits(Units &out_units) const
Shows the PMI default units setting.
- Parameters
out_units – The PMI default units setting.
- Returns
true if a PMI default units setting was specified, false otherwise.
-
bool ShowPMIFlipping(bool &out_pmi_flipping) const
Shows the pmi flipping setting.
- Parameters
out_pmi_flipping – The pmi flipping setting that was specified.
- Returns
true if a pmi flipping setting was specified, false otherwise.
-
bool ShowPMIPrecision(size_t &out_precision) const
Shows the PMI precision setting.
- Parameters
out_precision – The precision to use for PMI which has no precision information in the CAD file.
- Returns
true if a PMI precision setting was specified, false otherwise.
-
bool ShowPMISubstitutionFont(UTF8 &out_font_name, bool &out_always_substitute) const
Shows the PMI substitution font setting.
- Parameters
out_font_name – UTF8-encoded name of the font to use to replaced those referenced by the CAD file but which are not present on the system.
out_always_substitute – Whether to always use this font even in place of those which are present on the system.
- Returns
true if a PMI substitution font setting was specified, false otherwise.
-
bool ShowPRCReadHelper(bool &out_use_helper) const
Shows the PRC read helper setting.
- Parameters
out_use_helper – Whether to create an A3DRWParamsPrcReadHelper during import.
- Returns
true if a PRC read helper setting was specified, false otherwise.
-
bool ShowProECodePageName(UTF8 &out_name) const
Shows the Pro/E code page name setting.
- Parameters
out_name – The code page name for a Pro/E file.
- Returns
true if a Pro/E code page name setting was specified, false otherwise.
-
bool ShowProEConstructionEntities(ProE::ConstructionEntities &out_state) const
Shows the Pro/E construction entities setting.
- Parameters
out_state – How to import construction entities, for a Pro/E file.
- Returns
true if a Pro/E construction entities setting was specified, false otherwise.
-
bool ShowProEDatum(bool &out_state) const
Shows the Pro/E datum setting.
- Parameters
out_state – Whether datums are visible, for a Pro/E file.
- Returns
true if a Pro/E datum setting was specified, false otherwise.
-
bool ShowProEDimensionTolerance(bool &out_state) const
Shows the Pro/E dimension tolerance setting.
- Parameters
out_state – Whether to import dimension tolerances for a Pro/E file.
- Returns
true if a Pro/E dimension tolerance setting was specified, false otherwise.
-
bool ShowProEExplodedViews(bool &out_state) const
Shows the Pro/E exploded views setting.
- Parameters
out_state – Whether to create one view for each exploded state, for a Pro/E file.
- Returns
true if a Pro/E exploded views setting was specified, false otherwise.
-
bool ShowProEFamilyTableSource(ProE::FamilyTable &out_source) const
Shows the Pro/E family table setting.
- Parameters
out_source – How to import family tables, for a Pro/E file.
- Returns
true if a Pro/E family table setting was specified, false otherwise.
-
bool ShowProEHomeView(bool &out_state) const
Shows the Pro/E home view setting.
- Parameters
out_state – Whether to create a home view, for a Pro/E file.
- Returns
true if a Pro/E home view setting was specified, false otherwise.
-
bool ShowProEMissingBoolean(bool &out_state) const
Shows the Pro/E missing boolean setting.
- Parameters
out_state – Whether to import boolean entities when their tessellation is missing, for a Pro/E file.
- Returns
true if a Pro/E missing boolean setting was specified, false otherwise.
-
bool ShowProEMissingFlexibleComponent(bool &out_state) const
Shows the Pro/E missing flexible setting.
- Parameters
out_state – Whether to import flexible entities when their tessellation is missing, for a Pro/E file.
- Returns
true if a Pro/E missing flexible setting was specified, false otherwise.
-
bool ShowProESessionColor(ProE::SessionColor &out_type) const
Shows the Pro/E session color setting.
- Parameters
out_type – The session color for a Pro/E file.
- Returns
true if a Pro/E session color setting was specified, false otherwise.
-
bool ShowProESkeletons(bool &out_state) const
Shows the Pro/E skeletons setting.
- Parameters
out_state – Whether to import skeletons, for a Pro/E file.
- Returns
true if a Pro/E skeletons setting was specified, false otherwise.
-
bool ShowProESubpartPMI(bool &out_state) const
Shows the Pro/E subpart PMI setting.
- Parameters
out_state – Whether to import subpart PMI for a Pro/E file.
- Returns
true if a Pro/E subpart PMI setting was specified, false otherwise.
-
bool ShowRemovedViews(bool &out_read_removed_views) const
Shows the read removed views setting.
- Parameters
out_read_removed_views – The read removed views setting that was specified.
- Returns
true if a read removed views setting was specified, false otherwise.
-
bool ShowRevitPhysicalProperties(Revit::PhysicalProperties &out_physical_properties) const
Shows the Revit physical properties import setting.
- Parameters
out_physical_properties – The physical properties import setting for Revit files.
- Returns
true if a physical properties import setting was specified, false otherwise.
-
bool ShowRhinoForceRenderedModeColors(bool &out_state) const
Shows the Rhino force rendered mode colors setting.
- Parameters
out_state – The force rendered mode colors setting for Rhino files.
- Returns
true if an Rhino embedded force rendered mode colors setting setting was specified, false otherwise.
-
bool ShowSearchDirectories(UTF8Array &out_directories, UTF8Array &out_logical_names, BoolArray &out_recurse_flags) const
Shows the search directories setting.
- Parameters
out_directories – The directories to search for files referenced by a CAD assembly.
out_logical_names – The logical names for each corresponding directory. If there are no logical names for the directories, this array can be empty.
out_recurse_flags – Whether to search recursively in each of the corresponding directories.
- Returns
true if a search directories setting was specified, false otherwise.
-
bool ShowSearchDirectoriesByFile(UTF8Array &out_file_names) const
Shows the search directories by file setting.
- Parameters
out_file_names – The names of text files containing the lists of directories to search to find files referenced by a CAD assembly.
- Returns
true if a search directories by file setting was specified, false otherwise.
-
bool ShowSearchRootDirectory(bool &out_state, bool &out_recursive) const
Shows the search root directory setting.
- Parameters
out_state – Whether to search the CAD file root directory for sub-parts
out_recursive – Whether to search subdirectories of the CAD file root directory for sub-parts, if they are not found in the root directory.
- Returns
true if a root search setting was specified, false otherwise.
-
bool ShowSewingTolerance(double &out_tolerance) const
Shows the sewing tolerance setting.
- Parameters
out_tolerance – The sewing tolerance to use on the A3DAsmModelFile after importing a file.
- Returns
true if a sewing tolerance setting was specified, false otherwise.
-
bool ShowSolids(bool &out_state) const
Shows the solid import setting.
- Parameters
out_state – Whether to import solids from the CAD file.
- Returns
true if a solid import setting was specified, false otherwise.
-
bool ShowSolidworksDisplayVisibleDatum(bool &out_state) const
Shows the Solidworks display visible datum setting.
- Parameters
out_state – The display visible datum setting for Solidworks files.
- Returns
true if an Solidworks display visible datum setting was specified, false otherwise.
-
bool ShowSTEPFirstColorPreference(bool &out_state) const
Shows the STEP first color preference setting.
-
bool ShowSTEPOrientationHealing(bool &out_state) const
Shows the STEP orientation healing setting.
-
bool ShowSTEPShellBasedSurfaceModelSplitting(bool &out_state) const
Shows the STEP shell based surface model splitting setting.
-
bool ShowSTEPValidationProperties(bool &out_state) const
Shows the STEP validation properties setting.
-
bool ShowSurfaces(bool &out_state) const
Shows the surface import setting.
- Parameters
out_state – Whether to import surfaces from the CAD file.
- Returns
true if a surface import setting was specified, false otherwise.
-
bool ShowTessellationAccuracy(Tessellation::Accuracy &out_type, bool &out_accurate_normals, bool &out_accurate_surface_curvatures, double &out_accurate_grid_maximum_stitch_length) const
Shows the tessellation accuracy setting.
- Parameters
out_type – The type of the tessellation accuracy which was specified.
out_accurate_normals – Whether to compute surface normals when performing accurate tessellation. This only applies if out_type is different than Tessellation::Accuracy::Standard.
out_accurate_surface_curvatures – Whether 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_length – Maximal 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.
-
bool ShowTessellationCleanup(bool &out_cleanup) const
Shows the tessellation cleanup setting.
- Parameters
out_cleanup – The tesselation cleanup setting that was specified.
- Returns
true if a tessellation cleanup setting was specified, false otherwise.
-
bool ShowTessellationLevel(Tessellation::Type &out_type, Tessellation::Level &out_level, Tessellation::Chord::Limit &out_limit_type, double &out_limit, double &out_angle_tolerance) const
Shows the tessellation level setting.
- Parameters
out_type – The type of the tessellation level setting which was specified.
out_level – The 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_type – The type of chord limit which was specified. This is only valid if out_type is Tessellation::Type::Custom.
out_limit – The 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_tolerance – The 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.
-
bool ShowTessellationMaximumEdgeLength(double &out_length) const
Shows the tessellation maximum edge length setting.
- Parameters
out_length – The tessellation maximum edge length setting.
- Returns
true if a tessellation maximum edge length setting was specified, false otherwise.
-
bool ShowTessellationPreservesUVPoints(bool &out_state) const
Shows the tessellation UV preservation setting.
- Parameters
out_state – Whether 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.
-
bool ShowTextureDirectories(UTF8Array &out_directories) const
Shows the texture search directories setting.
- Parameters
out_directories – The directories to search for textures referenced by a CAD assembly.
- Returns
true if a texture search directories setting was specified, false otherwise.
-
bool ShowTrueColorMode(bool &out_state) const
Shows the true color mode setting.
- Parameters
out_state – Whether to use the true color mode during an import.
- Returns
true if a true color mode setting was specified, false otherwise.
-
bool ShowUnigraphicsFittedCamera(bool &out_state) const
Shows the Unigraphics fitted camera setting.
- Parameters
out_state – Whether to make view cameras fit all visible geometry for a Unigraphics file.
- Returns
true if a Unigraphics fitted camera setting was specified, false otherwise.
-
bool ShowUnigraphicsPreferredReferenceSets(UTF8Array &out_reference_sets, bool &out_apply_to_all_levels) const
Shows the Unigraphics preferred reference sets setting.
- Parameters
out_reference_sets – List of preferred references sets for a Unigraphics file.
out_apply_to_all_levels – Whether the reference sets will apply to subassemblies for a Unigraphics file.
- Returns
true if a Unigraphics preferred reference sets setting was specified, false otherwise.
-
bool ShowWireframes(bool &out_state) const
Shows the wireframe import setting.
- Parameters
out_state – Whether to import wireframes from the CAD file.
- Returns
true if a wireframe import setting was specified, false otherwise.
-
ImportOptionsKit &UnsetActiveFilter()
Removes the active filter import state.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetAnnotationCaptureFitting()
Removes the annotation capture fitting setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetAttributes()
Removes the attribute import state.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetBRepMode()
Removes the BRep mode import setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetCatiaV4LogicalNameForRootDirectory()
Removes the Catia V4 logical name for the root directory setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetCatiaV4LogicalNameSearching()
Removes the Catia V4 logical name searching setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetCatiaV5Cache()
Removes the Catia V5 cache setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetCatiaV5MaterialRendering()
Removes the Catia V5 material rendering setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetComputePreferredOpenShellOrientation()
Removes the compute preferred open shell orientation setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetConfiguration()
Removes the configuration setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetConstraintsInfo()
Removes the constraints import state.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetConstructionAndReferences()
Removes the construction and references import state.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetDefaultUnits()
Removes the default units setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetDrawings()
Removes the drawing state.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetEverything()
Removes all settings from this ImportOptionsKit.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetExternalProductOccurrence()
Removes the read external data Product Occurrence setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetFeatureTrees()
Removes the feature trees import state.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetGeometryDefaultColor()
Removes the geometry default color setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetHiddenObjects()
Removes the hidden objects import state.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetIFCAttributeXMLFile()
Removes the IFC attribute XML file setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetIFCCodePageName()
Removes the IFC code page name setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetIFCEdges()
Removes the IFC edges setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetIFCFaceOptimization()
Removes the IFC face optimization setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetIFCMetadata()
Removes the IFC metadata setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetIFCOpenings()
Removes the IFC openings setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetIFCOwnerHistoryOptimization()
Removes the IFC owner history optimization setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetIFCRelationships()
Removes the IFC relationships setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetIncrementalComponentPaths()
Removes the incremental ComponentPaths setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetInventorEmbeddedTessellation()
Removes the Inventor embedded tessellation setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetJTTessellationLevel()
Removes the JT tessellation level setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetLargeTranslationExtraction()
Removes the large translation extraction setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetLocation()
Removes the location setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetMode()
Removes the mode setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetMultiProcessCount()
Removes the multi-process count setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetNURBSConversion()
Removes the NURBS conversion setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetPDF3DStreamIndex()
Removes the PDF 3D stream index setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetPMI()
Removes the PMI import state.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetPMIDefaultColor()
Removes the PMI default color setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetPMIDefaultUnits()
Removes the PMI default units setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetPMIFlipping()
Removes the pmi flipping setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetPMIPrecision()
Removes the PMI precision setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetPMISubstitutionFont()
Removes the PMI substitution font setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetPRCReadHelper()
Removes the PRC read helper setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetProECodePageName()
Removes the Pro/E code page name setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetProEConstructionEntities()
Removes the Pro/E construction entities setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetProEDatum()
Removes the Pro/E datum setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetProEDimensionTolerance()
Removes the Pro/E dimension tolerance setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetProEExplodedViews()
Removes the Pro/E exploded views setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetProEFamilyTreeSource()
Removes the Pro/E family table setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetProEHomeView()
Removes the Pro/E home view setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetProEMissingBoolean()
Removes the Pro/E missing boolean setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetProEMissingFlexibleComponent()
Removes the Pro/E missing flexible setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetProESessionColor()
Removes the Pro/E session color setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetProESkeletons()
Removes the Pro/E skeletons setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetProESubpartPMI()
Removes the Pro/E subpart PMI setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetRemovedViews()
Removes the read removed views setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetRevitPhysicalProperties()
Removes the Revit physical property setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetRhinoForceRenderedModeColors()
Removes the Rhino force rendered mode color color setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetSearchDirectories()
Removes the search directories setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetSearchDirectoriesByFile()
Removes the search directories by file setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetSearchRootDirectory()
Removes the search root directory setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetSewingTolerance()
Removes the sewing tolerance setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetSolids()
Removes the solid import state.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetSolidworksDisplayVisibleDatum()
Removes the Solidworks display visible datum setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetSTEPCodePageName()
Removes the STEP code page name setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetSTEPFirstColorPreference()
Removes the STEP first color preference setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetSTEPNamePreference()
Removes the STEP name preference setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetSTEPOrientationHealing()
Removes the STEP orientation healing setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetSTEPShellBasedSurfaceModelSplitting()
Removes the STEP shell based surface model splitting setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetSTEPValidationProperties()
Removes the STEP validation properties setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetSurfaces()
Removes the surface import state.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetTessellationAccuracy()
Removes the tessellation accuracy setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetTessellationCleanup()
Removes the tessellation cleanup setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetTessellationLevel()
Removes the tessellation level setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetTessellationMaximumEdgeLength()
Removes the tessellation maximum edge length setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetTessellationPreservesUVPoints()
Removes the tessellation UV preservation setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetTextureDirectories()
Removes the texture search directories setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetTrueColorMode()
Removes the true color mode setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetUnigraphicsFittedCamera()
Removes the Unigraphics fitted camera setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetUnigraphicsPreferredReferenceSets()
Removes the Unigraphics preferred reference sets setting.
- Returns
A reference to this ImportOptionsKit.
-
ImportOptionsKit &UnsetWireframes()
Removes the wireframe import state.
- Returns
A reference to this ImportOptionsKit.
-
virtual ~ImportOptionsKit()
Public Static Functions
-
static ImportOptionsKit GetDefault()
Creates an ImportOptionsKit 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(const char*,const ImportOptionsKit&) or File::Translate.
- Returns
An ImportOptionsKit with the default settings.
Public Static Attributes
-
static const HPS::Type staticType = HPS::Type::ExchangeImportOptionsKit
-
virtual bool Empty() const