60001581 Is it possible to add an auto horizontal-vertical dimension in cmdDim

Article 60001581
Type Wish
Product Engine
Version 6021
Date Added 12/21/2011 12:00:00 AM
Fixed (12/21/2011 12:00:00 AM)
Submitted by Levi Azevedo

Summary

Is it possible to add an auto horizontal-vertical dimension in cmdDim so the use can set it to horizontal or vertical when the line position is asked from cmdDim

Solution

A new command cmdDimAR is added in the commands. The user has to select the LinePosition of the dimension and the rotation (0=horizontal or 90=vertical) is calculated automatically.

Summary : Adds a rotated dimension (0 or 90 degrees rotation) to the document.
DefPoints : A gPoints object collection is needed for the dimension or an object array containing a "vdFigure" or "USER"/null so the user picks these points to the screen.
Returns : True if the command was succesfull.
Remarks : Raizes the vdDocument.ActionEnd, vdDocument.ActionStart and/or vdDocument.ActionErrorevents with "CmdDim" action name.
       public bool CmdDimAR(object DefPoints)

added in 6022.

Send comments on this topic.