InitializeUserInput

InitializeUserInput

Anonymous
Not applicable
416 Views
3 Replies
Message 1 of 4

InitializeUserInput

Anonymous
Not applicable
Using Acad 2000i Win 98
When the user enters a keyword ie CL or UN the following code behaves
differently on different systems. On mine it behaves fine and returns

Err.Description = User input is a keyword

On others it returns

Err.Description = Automation Error

Is there something I'm missing on the other system. Obviously I only want to
handle the first error situation

ThisDrawing.Utility.InitializeUserInput 1, "CL UN"
On Error Resume Next
vertices = ThisDrawing.Utility.GetPoint(vertices(count - 1), " next
point:")
0 Likes
417 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
I take it nobody has come across this before by the lack of response (see
post for 13-02-01)
0 Likes
Message 3 of 4

Anonymous
Not applicable
hi

i am having trouble with the thisdrawing.utility.initializeuserinput
function, i'm inserting a block, and getting the user to pick and insertion
point, and then a rotation point, the problem is that i use the
initializeuserinput function on the thisdrawing.utility.getpoint(blar,blar),
and for some reason it continues to the
thisdrawing.utility.getangle(blar,blar)....

is there some way that i can cancel the initializeuserinput after the user
picks the point??? or am i doing something wrong???

thanks in advance

cheers
mark
0 Likes
Message 4 of 4

Anonymous
Not applicable
I believe this is a known bug.

Try calling initializeUserInput again, after the first
call to Getpoint() and pass 0 and "" as the arguments.

"Mark Dubbelaar" wrote in message
news:[email protected]...
> hi
>
> i am having trouble with the thisdrawing.utility.initializeuserinput
> function, i'm inserting a block, and getting the user to pick and
insertion
> point, and then a rotation point, the problem is that i use the
> initializeuserinput function on the
thisdrawing.utility.getpoint(blar,blar),
> and for some reason it continues to the
> thisdrawing.utility.getangle(blar,blar)....
>
> is there some way that i can cancel the initializeuserinput after the user
> picks the point??? or am i doing something wrong???
>
> thanks in advance
>
> cheers
> mark
>
>
>
0 Likes