Prod.: Engine, ver.: 6021, ID: 60001581, Wish : Is it possible to add an auto horizontal-vertical dimension in cmdDim

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

Article60001581
TypeWish
ProductEngine
Version6021
Date Added12/21/2011
FixedYes [12/21/2011]
Submitted byLevi Azevedo
Keywords

Subject

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

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.