Message 1 of 5
Not applicable
06-22-2017
05:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear All,
I want transmit a outside parameter to CAD, my thinking is like following :
//outside code
class xxxxx
{
//outside code
string parameter="ParameterToTransmit";
document acdoc.SendCommand("MyCommand ",ParameterToTransmit😞
}
//CAD command
[CommandMethod("MyCommand ")]
public static void MyCommand (ParameterToTransmit)
{
//
}
But i don't know how to make a command with parameter .
Is it possible to create a command with parameter ?
Or is it have other solution?
Solved! Go to Solution.