PDA

View Full Version : Argument in cust cmd (Open cust cmd - >add)



chintan
04-07-2011, 04:33 AM
Anyone know
what is Argument in Cust cmd?
And
what is (Same above) Argument in VB code?


IF question is not clear please let me kow?

chintan
04-08-2011, 02:28 AM
If u have Sp3d Automation in ur Workstation
try using
SP3DAutomatio.MiscCmds01
Argument =ShowOnlySelectedObjects ----this work with argment

So can any one Guide me on this now

foxtratecho
05-10-2011, 11:39 PM
Hi Chintan,

I think you already understand about arguments since this is posted a month ago. Anyway, this is just a sort of information for others.

The "argument" mentioned is just a parameter.

Take a look at this sub procedure in a custom command program:

Private Sub IJCommand2_Start(ByVal CommandID As Long, ByVal cmdArg As Variant)

This means that when you run your custom command, this cmdArg will contain the contents of the "argument" text box on the Custom Command Dialog Box.

The practical application for this is used as Switches or Options.

chintan
05-11-2011, 02:53 AM
hi foxtratecho

Thanks for this info . :)