Hi,
Would anyone have a solution for this? I can't find a solution elsewhere.
SendingString cancels my current command. And trying to set a selection set with Nothing in it creates an error.
Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument.SendStringToExecute(Chr(27), False, False, False)
psr = Nothing
ed.SetImpliedSelection(psr.Value)
Hi,
use this: 😉
tAcadDocED.SetImpliedSelection(New ObjectId() {})
HTH, - alfred -
I did try something similar but it also didn't work.
'Dim arOBJIDS(0) As ObjectId
'arOBJIDS(0) = Nothing
'ed.SetImpliedSelection(arOBJIDS)
Thanks once again!!
HI,
>> I did try something similar but it also didn't work.
>> Dim arOBJIDS(0) As ObjectId
you have an array declared with one item, I did declare an array with 0 items, that's the difference.
Anyway, good to hear it's working now for you!
- alfred -
Can't find what you're looking for? Ask the community or share your knowledge.