Place a Control on the Form - Intergraph Smart 3D - Reference Data

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
12.1 (2019)
  1. In TestForm.cs, select the SP3DUOmCtrl control.

  2. Place the control on the form near A.

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

  3. Go to the Properties window of the control, and type values for InterfaceName and PropertyName under Misc.

    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. Go to the Properties window for SP3DFrmDefCodeLstCtrl1 (the parent control), and type values for InterfaceName, PropertyName, and ChildCodelistControl under Misc. The example uses the following settings:

    • ChildCodelistControl - SP3DFrmDefCodeLstCtrl2

    • InterfaceName - IJFabricationInfo

    • PropertyName - Fabrication Requirement

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

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

    • ChildCodelistControl - (none)

    • InterfaceName - IJFabricationInfo

    • PropertyName - Fabrication Type

      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.