Set TIN Tags Tool

Created:6/28/2002
Description:

Assigns tag values to TIN elements.

How to use:

    Steps for adding a command/tool from a DLL:

  1. Register the DLL: SetTinTags.dll.
  2. In ArcMap's Customize dialog, click on 'Add from file' and select this sample's dll.
  3. Select the TIN to Features command under the 3D Developer Samples Category on the Commands tab. Drag and drop it to the desired location in the application's user interface. Dismiss the Customize dialog.

    Using the Tool:

  1. Select the element type, method of assignment, and tag value in the tool's dialog.
  2. Click a position on the TIN.

    Steps for compiling the DLL:

  1. The VB code for this sample makes calls to one or more utility modules that are shared by a number of 3D samples. The shared modules are located in the 'Utilities' folder which is found directly below the main '3D Analyst' ArcObjects sample folder. In order to compile the DLL make sure you have the latest version of the shared modules installed.

Application:
ArcMap

Requires: 3D Analyst

Difficulty: Intermediate


Visual Basic
File Description
clsSetTinTags.cls Implementation of ICommand for this sample.
frmSetTinTags.frm The user interface.
prjSetTinTags.vbp Visual Basic Project file for the command.
SetTinTags.dll The compiled DLL containing the implementation of the sample.


Key CoClasses: Tin
Key Interfaces: ITinEdit
Key Members: ITinEdit::Set*TagValue, ITinEdit::PropagateTriangleTagValues