Define roles - Intergraph Smart 3D - Installation & Upgrade

Intergraph Smart 3D Installation

Language
English
Product
Intergraph Smart 3D
Search by Category
Installation & Upgrade
Smart 3D Version
11 (2016)

The list of roles for selection in the Role box in the Define Workspace dialog box of File > Define Workspace is defined in the OptimizationForRole.xml file in the [Reference Data Folder]\SharedContent\XML folder. Your administrator can customize OptimizationForRole.xml.

Roles XML Format

<Smart3D>

<Role Name="" StyleSet="" Version="">

<Discipline ClassName=""/>

<Discipline ClassName="">

<Node ClassName=""/>

<Node ClassName="">

<Node ClassName="">

</Node>

</Discipline>

</Role>

</Smart3D>

The XML format defines three criteria in a hierarchy:

  1. Role - The optimization category.

    <Role Name=" " StyleSet=" " Version=" ">

    Name - Defines the role name that displays in the Define Workspace dialog box Role list.

    StyleSet - Defines the set of project colors and symbols (styles) used to display objects defined by the role.

    The StyleSet names in OptimizationForRole.xml are placeholder values and have no effect on object styles. Style sets work with color configurations defined in the Project Management task, but no color configurations for role style sets are delivered with the software. Style sets require additional filtering of objects and can affect performance. For more information, see Default Color Configuration Dialog Box in the Project Management Help. Contact customer support if you want to create style sets for roles.

  2. Discipline - The top level of the object class to include in the role.

    Use this format when you want to include all subclasses of the object class:

    <Discipline ClassName=" "/>

    Use this format when you are also defining specific subclasses:

    <Discipline ClassName=" ">...</Discipline>

  3. Node - Individual subclasses to include under the object class. Use Node when you do not want to include all subclasses.

    Use this format when you want to include all subclasses of the subclass:

    <Node ClassName=" "/>

    Use this format when you are also defining specific subclasses of the subclass:

    <Node ClassName=" ">...</Node>

  • The ClassName attribute defines an object class or subclass name as it displays in the object hierarchy used in Smart 3D. You can see a tree view of the object hierarchy in the Object Type tab of the Filter Properties Dialog Box.

  • The software supports the nesting of three levels of Node classes.

  • Roles applied to filters that include referenced files or referenced 3D files must include the specific reference classes to populate the Workspace Explorer tree view. If these classes are missing from the role definition, references are added by the filter but the Workspace Explorer cannot be populated. Examples include:

    <Discipline ClassName="Reference 3d File"/>

    <Discipline ClassName="Referenced File"/>

    You can see all reference class names in the object hierarchy.

  • The discipline and node names must match those defined in the Smart 3D object hierarchy. If in any of these names do not match an existing classification, an error message displays when the role filter is loaded. The software excludes the node in error from the workspace.

Example Roles

<?xml version="1.0" encoding="windows-1252" ?>

<Smart3D>

<Role Name="Electrical Designer" StyleSet="Electrical" Version="1.0">

<Discipline ClassName="Cableway">

<Node ClassName="Cableway Features"/>

<Node ClassName="Cableways"/>

</Discipline>

<Discipline ClassName="Cabling">

<Node ClassName="Cable Features"/>

<Node ClassName="Cable Marker"/>

<Node ClassName="Cable Runs"/>

</Discipline>

<Discipline ClassName="Equipment and Furnishing">

<Node ClassName="Equipment">

<Node ClassName="Equipment A"/>

</Node>

</Discipline>

<Discipline ClassName="Supports"/>

</Role>

<Role Name="Equipment Designer" StyleSet = "Equipment" Version = "1.0">

<Discipline ClassName="Equipment and Furnishing" />

<Discipline ClassName="Grid Systems"/>

<Discipline ClassName="Structure">

<Node ClassName="Equipment Foundations"/>

<Node ClassName="Members"/>

<Node ClassName="Slabs"/>

<Node ClassName="Walls"/>

</Discipline>

</Smart3D>

In the above example, two roles are defined:

Role

Discipline

Object Types

Electrical Designer

Cableway

Cableway Features
Cableways

Cabling

Cable Features
Cable Marker
Cable Runs

Equipment and Furnishing

Equipment
Equipment A

Hangers and Supports

Supports

Equipment Designer

Equipment and Furnishing

All Equipment and Furnishing objects

Grid Systems

All Grid objects

Structure

Equipment Foundations
Members
Slabs
Walls