Create an Auxiliary Coordinate System within a model - PDS - Installation

Plant Design System (PDS) Project Setup Technical Reference

PPMProductFamily
3D Design and Visualization
PPMProduct
PDS
PPMCategory
Installation

The following example shows how to create an Auxiliary Coordinate System that is offset 100 ft East and 75 ft North from the DGN file's default 0,0,0 location. This example uses the name Unit#1 for the ACS.

  1. Select Utilities > Macros from the MicroStation command bar.

    The Macros dialog box opens.

  2. Click New on the Macros dialog box.

    The MicroStation BASIC Editor dialog box opens.

  3. Into the BASIC Editor dialog box, enter the following text which creates an Auxiliary Coordinate System that is offset 100 ft East and 75 ft North from the DGN file's default 0,0,0 location.

    'Author : INTERGRAPH Corp
    'Project : Some Project
    'Template file : Unit1ACS.bas
    'Date : 3/1/2010
    'DEFINE ACS SYSTEM FOR UNIT 1
    Sub main
    Dim startPoint As MbePoint
    Dim point As MbePoint, point2 As MbePoint
    'First remove existing ACS from design file if update required
    MbeSendKeyin "Delete Acs UNIT#1"
    'Define ACS 0,0,0 origin within MicroStation design file
    MbeSendKeyin "Define Acs Points "
    MbeSendKeyin "XY=100,75,0"
    'Define ACS X Axis (if rotation required use DI=distance,angle)
    MbeSendKeyin "DL=100"
    'Define ACS Y Axis (if rotation required use DI=distance,angle)
    MbeSendKeyin "DL=-100,100"
    'Save and Attach New ACS to design file
    MbeSendKeyin "Save Acs UNIT#1"
    MbeSendKeyin "Attach Acs UNIT#1"
    MbeSendKeyin "Attach Acs"
    MbeSendKeyin "Reset"
    'Set your tentative point readout to use the new Coord System
    MbeSendKeyin "SET TPMODE ACSDelta"
    MbeSendKeyin "SET TPMODE ACSLocate"
    End Sub

  4. Click File > Save to save the macro. Name it something useful. For example, the previous example could be named Unit1ACS.bas.

You can now select Run from the Macro menu for this new macro and your Auxiliary Coordinate System will be set up and active.

You must load this macro every time you enter this model in order for this ACS to be active.

See Also

Automatically load an Auxiliary Coordinate System within a model

Create a prompt for automatic loading