Page 2 of 2

Re: OSNAP / Rastreamento polar

Posted: Sun Dec 06, 2020 5:16 pm
by DenisSilveira
Anyone else got this problem ??????

One more tip, when I use:

IntelliCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument.Editor.Command("lineVBNet")

It works ... but calling directly lineVBNet function does not !!!

Re: OSNAP / Rastreamento polar

Posted: Tue Dec 08, 2020 9:12 am
by QuanNguyen
Hi,
In case of calling a command from the menu/form, you should call via Editor.Command(...)

However, we can also create a context to run a function (ex: LineVBNet), please refer to the attached file.
Line WinForm Exam.rar
(3.4 KiB) Downloaded 283 times

Re: OSNAP / Rastreamento polar

Posted: Tue Dec 08, 2020 11:21 am
by DenisSilveira
That´s a light at then end of tunnel.

My group of commands use USerControl form inside a PalleteSet.

I will try to think an option to invoke ...

Specially because I have DropDown buttons to select values, types and customize drawings ...

Creating a new CommandMethod needs to receipt all options and values selected by user ... becomes complicated ...

Re: OSNAP / Rastreamento polar

Posted: Tue Jan 26, 2021 4:50 pm
by DenisSilveira
QuanNguyen wrote:
Tue Dec 08, 2020 9:12 am
Hi,
In case of calling a command from the menu/form, you should call via Editor.Command(...)

However, we can also create a context to run a function (ex: LineVBNet), please refer to the attached file.
Line WinForm Exam.rar
Do we have any alternative to solve this OSNAP calling problem ??

Does anybody eles got this problem or just me ??