Pass arg to custom command

Hello.

There is any away to pass some arg to command?

Ex:

call commad : RhinoApp.RunScript("_-CustomCmd _SampleStrig", true);

    protected override Result RunCommand(RhinoDoc doc, RunMode mode)
	{
       MessageBox.Show(_SampleStrig);
		return Result.Success;
	}

Thanks

Sorry no. You can, however, set some member variables on the command. Then these member varaibles can be accessed, by the command, when it’s RunCommand member is called by Rhino.

– Dale