Router-CIM Automation Suite

Parametric_Macro_Builder_Header


Parametric_Macro_Builder_Header


Previous topic Next topic  

Parametric_Macro_Builder_Header


Previous topic Next topic  

Profile

The Profile Operation is a collection of lines and arcs that define a polyline. Each line or arc in the definition of a polyline is a segment. The start point of a segment is always the end point of the previous segment. The Profile is presented in a grid representing all the segments. Also, there is a Geometry Editor for each segment. Starting with a start point for the Profile each segment's end point can be defined using three methods for a line and five different methods for an arc.

 

Mac_Explorer_New_Profile

 

Default Profile - generates a single line that starts a 0,0 and ends at 1,1.

Selected Polyline - this option is available if a polyline has already been selected in AutoCAD. To perform the selection:

 1) Exit the Macro Builder

 2) Select a polyline by Double-Clicking on the polyline,

 3) Run Mac again and this option will be available.

Mac_Profile_Start

View of the Profile Start

Mac_Profile_Grid

View of the Profile Grid

Mac_Profile_Geometry_Editor

View of the Profile Geometry Editor on the left with the Profile Grid on the right

Steps required to define a Profile

1) A Profile definition starts with the X Start, Y Start and Depth defined in the Profile Start pane.

2) The next segment's type and end point definition is defined by selecting the * selector in the Profile Grid. In the Type column select either Line or Arc.

3) Select the Geometry Editor located to the left of the Profile Grid. This will show the Profile Geometry Editor.

4) Select a Method of Construction. Each choice states Line or Arc. Only those that are associated with the selected Type of Geometry can be selected.

 

 Line Methods of Construction:

         ENDPOINT OF LINE

         LENGTH | ANGLE OF LINE

         LENGTH OF LINE

 Arc Methods of Construction:

         POINT | ENDPOINT OF ARC

         CENTER | SWEEP | DIRECTION OF ARC

         CENTER | ENDPOINT | DIRECTION OF ARC

         ENDPOINT | RADIUS | DIRECTION OF ARC

         ENDPOINT OF ARC

 

Note: DIRECTION OF ARC can be either 1 for Counter-Clockwise or -1 for Clockwise direction.

 

5) Provide parameter values for all the parameters available for the selected Method of Construction

6) Repeat step 2 for the next segment.

7) Press Accept when complete.

You can Accept anytime after the first segment is defined. The Viewer will show the Profile as currently defined.

Validation Process

Each combination described above is validated for the correct number and types of parameters defined. The parameters must meet one of the above combinations to be accepted.

Sides

Reference the Sides, Corners and UCS for details.

Condition and Record Data

Reference the Editor Interface for details.