Prod.: Engine, ver.: 6021, ID: 60001563, Wish : I would like the CmdXline and CmdRay commands to have two parameters

Wish : I would like the CmdXline and CmdRay commands to have two parameters

Article60001563
TypeWish
ProductEngine
Version6021
Date Added12/2/2011
FixedYes [12/2/2011]
Submitted byGizem 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);