Table of contents
No headersThe write, edit and delete operations are followed by read operations for verification. This procedure also tells you how to monitor the effects of the application operations in the Oracle database using Oracle SQL*Plus commands.
To use this sample:
- Build the sample. The plugin (VBSample02.dll or CSSample02.dll) and the associated .tbp file are copied to the AutoCAD Map 3D Client bin directory.
- Start AutoCAD Map 3D and open the TBSAMPLE workspace.
- Click the application toolbar button with the tooltip. The sample’s dialog box is displayed.
- Click the button.
Note A form with a progress bar is displayed. This indicates that a connection is being made to the AutoCAD Map 3D workspace. At the end of the write operation the connection is closed. Each time you click a button on this form a connection to a workspace is opened and closed. The descriptions of the other operations do not repeat this information.
- In the dialog box, type a number in the text box and in the text box and click . The result is that an untitled message box is displayed telling the feature ID number of the point that you just added. Click .
To display the results of this operation in the TBSAMPLE user tables in your Oracle instance, enter the following commands at a command prompt:
sqlplus /nolog
connect tbsample/avs
select fid,geom from mypoint;
- Click the button. Type the feature ID number returned by the write point operation into the FID text box in the dialog box. Click . A message box is displayed showing the X and Y values that you specified during the write point operation. Click .
- Click the button. Type the feature ID number returned by the write point operation into the FID text box in the dialog box. Click . In the dialog box type a number in the text box and in the text box and click . Use Read Point from the previous step again to verify that you have changed the values of this feature.
- Click the button. Click the button in the message box. Type the feature ID number returned by the write point operation into the FID text box in the dialog box. Click . Click the button in the message box.
- Click the button. Type the feature ID number returned by the write point operation into the FID text box in the dialog box. Click . Click the button in the message box.
At any time during the execution of this sample, right-click and select to display the points and lines created by this sample.