Create custom commands - Intergraph Smart 3D - Help

Intergraph Smart 3D Common

Language
English
Product
Intergraph Smart 3D
Subproduct
Common
Search by Category
Help
Smart 3D Version
13

You can create custom commands with the Smart 3D .NET APIs that are available in the Programming Resources toolset that you can download from the Smart Community site.

To create .NET-based commands that can execute in the 3D software, you must create a class that subclasses from one of the base command classes provided in the 3D object model.

With .NET, and especially its Common Runtime, it is possible to provide reusable command functionality in the form of base classes. These base classes, though written in C#, are, through the Common Runtime, seamlessly available to command writers in any supported .NET language (specifically, to command writers who choose to use Visual Basic in .NET).

There are four types of commands used in the 3D software:

  • Menu Handler Commands

  • Modal Commands

  • Graphic Commands

  • Step Commands

For help in accessing the Programming Resources toolset, log in to the Smart Community site and contact Support. For programming instructions, refer to the Custom Commands section of the Intergraph Smart 3D and Smart 3Dx .NET Programmer's Guide PDF document that is included in the Programming Resources toolset download.

You may not directly reference or use in your custom command code the Telerik controls that Hexagon Asset Lifecycle Intelligence delivers with Smart 3D without having your own Telerik license. Contact support@telerik.com for additional information. If you do have your own Telerik license and do directly reference the Telerik dll's that Hexagon Asset Lifecycle Intelligence delivers with Smart 3D, then you are responsible for recompiling your code every time Hexagon Asset Lifecycle Intelligence upgrades to a newer Telerik version in Smart 3D. You are also responsible for reacting to any impacts published by Telerik.