tizianost
Guest
hello to all, I am new member of the community but already for years I solve my problems with autocad reading the forum. I have written in hope that, with your help, I can finally complete a written vba application to which I have been working for a few weeks (for pastime).
I tell you the situation:
the program performs for each selected object (before starting the application) the command "measure" by "sendcommand". (are there any other ways? )
problem 1:
every time the vba application sends the autocad "measure" command waits for the user to enter the number of items in which to divide the selected object by making the script useless...is there a way to avoid manually typing that number?
problem 2:
the command "measure" accepts the selection of objects only after the initialization of the command (if they select the object to be split and then start the command "measure" this unchecks the current selection asks me again to select an object). to this problem I can not imagine a solution except to find a script in vba that has the same function as "measure"...but I see it hard since so far I have found nothing around...you have advice? ?
Thank you.
Hi.
Titian
I tell you the situation:
the program performs for each selected object (before starting the application) the command "measure" by "sendcommand". (are there any other ways? )
problem 1:
every time the vba application sends the autocad "measure" command waits for the user to enter the number of items in which to divide the selected object by making the script useless...is there a way to avoid manually typing that number?
problem 2:
the command "measure" accepts the selection of objects only after the initialization of the command (if they select the object to be split and then start the command "measure" this unchecks the current selection asks me again to select an object). to this problem I can not imagine a solution except to find a script in vba that has the same function as "measure"...but I see it hard since so far I have found nothing around...you have advice? ?
Thank you.
Hi.
Titian