Wish : I would like the CmdXline and CmdRay commands to have two parameters
Article | 60001563 |
Type | Wish |
Product | Engine |
Version | 6021 |
Date Added | 12/2/2011 |
Fixed | Yes [12/2/2011] |
Submitted by | Gizem Basturk |
Keywords | |
Subject
I would like the CmdXline and CmdRay commands to have two parameters
Summary
I would like the CmdXline,CmdRay commands to have two separate parameters , one for BasePoint and one for Direction.
Solution
We have added two more methods in order to allow our users to select the parameters of these methods separately.Please read below their description
Performs a command to draw an Xline Infinity line to the document.
"BasePoint">A gPoint object that represents the BasePoint of the object or null , "USER" so the user picks this point.
"Direction">A gPoint object that represents the Direction of the object or null , "USER" so the user picks this point.
True if the command was successful.
Raises the , and/or events with "CmdXLine" action string.
public bool CmdXLine(object BasePoint, object Direction)
Performs a command to draw an Ray Infinity line to the document.
"BasePoint">A gPoint object that represents the BasePoint of the object or null , "USER" so the user picks this point.
"Direction">A gPoint object that represents the Direction of the object or null , "USER" so the user picks this point.
True if the command was successful.
Raises the , and/or events with "CmdRay" actionName.
public bool CmdRay(object BasePoint, object Direction)
for example you can call the above methods like below
vdFramedControl.BaseControl.ActiveDocument.CommandAction.CmdRay(new gPoint(10, 10, 0), null);