ProcessReference Rule - Intergraph Smart 3D - Administration & Configuration

Intergraph Smart 3D Interference Checking

Language
English
Product
Intergraph Smart 3D
Subproduct
Interference Checking
Search by Category
Administration & Configuration
Smart 3D Version
11 (2016)

Enables you to avoid any known foreign files (MSTN, Reference3D, or ACAD) from the interference checking process. By default, IFC assumes attached foreign files participate in the IFC process.

For server-based interference checking, you must select Smart 3D-External Data on the Database Detect tab.

You can modify the ProcessReference rule to specify a file type or file path to filter out of the interference checking process. In the example code sample below, a return value of false indicates that the file will not be considered for interference checking process.

public override bool ProcessReference(Reference.SP3DReferenceFileType referenceType, string referencePath)

{

if ( referencePath.StartsWith ( "\\sample\\SharedContent\\symbols\\storelay.dgn"))

// Skip all files in a folder

return false;

else if ( referenceType == Reference.SP3DReferenceFileType.R3D )

// Skip all R3D references

return false;

else if (referencePath.Contains( "Test.dwg")) // Skip a particular file

return false;

return true;

}