Place a control on the form - Intergraph Smart 3D - Reference Data - Hexagon PPM

Intergraph Smart 3D Equipment and Furnishings Reference Data

Language
English
Product
Intergraph Smart 3D
Subproduct
Equipment and Furnishings
Search by Category
Reference Data
Smart 3D Version
13.1
  1. Select the SP3DUOmCtrl control in TestForm.cs.

  2. Place the control on the form near A.

    To place the control, drag the mouse on the form as if drawing a rectangle.

  3. Type values for InterfaceName and PropertyName under Misc in the Properties window of the control.

    The delivered spreadsheet [Product Folder]\CatalogData\BulkLoad\DataFilesEquipment.xls or the metadata browser contains InterfaceName and PropertyName for each of the properties. For this example, 'Dome Height 1' represents the property at control 'A'. Equipment.xls provides you with the InterfaceName and the PropertyName(AttributeName) on the Custom Interface sheet.

  4. Repeat steps 1-2 for each user control to place.

    The rest of the procedure shows you how to place two SP3DFrmDefCodeLstCtrl user controls and define a parent-child relationship. In the following examples, SP3DFrmDefCodeLstCtrl1 is the parent, and SP3DFrmDefCodeLstCtrl2 is the child.

  5. Select SP3DFrmDefCodeLstCtrl, and then place the control on the form as in Step 1.

  6. Place a second SP3DFrmDefCodeLstCtrl control on the form underneath the one you placed in Step 4.

  7. Type values for InterfaceName, PropertyName, and ChildCodelistControl under Misc in the Properties window for SP3DFrmDefCodeLstCtrl1 (the parent control). The example uses the following settings:

    ChildCodelistControl - SP3DFrmDefCodeLstCtrl2

    InterfaceName - IJFabricationInfo

    PropertyName - Fabrication Requirement

    Place Control on Form_ChildCodelistControl_1

    Setting the ChildCodelistControl property to SP3DFrmDefCodeLstCtrl2 defines a parent-child relationship between the two user controls.

  8. Type values for InterfaceName, PropertyName, and ChildCodelistControl under Misc in the Properties window for SP3DFrmDefCodeLstCtrl2 (the child control). The example uses the following settings:

    ChildCodelistControl - (none)

    InterfaceName - IJFabricationInfo

    PropertyName - Fabrication Type

    Place Control on Form_ChildCodelistControl_3

    In the example below, the Fabrication Type list box is the child and Fabrication Requirement is the parent. Fabrication Type displays types specific to the requirement you select in the Fabrication Requirement list.

    Place Control on Form_ChildCodelistControl_4 Place Control on Form_ChildCodelistControl_5