46
Scripts and Plugin Help / c# - Plugin Questions
« on: January 22, 2022, 10:58:34 am »
Dear all,
on my brave way from Script-Yedi to Plugin-Yedi I decided to convert & improve my
one-and-only-super-duper-auto-magic python script into a real plugin.
I fear a lot of upcoming questions ... so the title is very common.
(I do NOT like python)
The way creating a plugin using C# is done.
Question of the day :
How to remove a layer ?
Cannot find a remove, delete or somewhat.
Wrong way ?
Best regards
Bernhard
on my brave way from Script-Yedi to Plugin-Yedi I decided to convert & improve my
one-and-only-super-duper-auto-magic python script into a real plugin.
I fear a lot of upcoming questions ... so the title is very common.
(I do NOT like python)
The way creating a plugin using C# is done.
Question of the day :
How to remove a layer ?
Code: [Select]
newdoc = CamBamUI.MainUI.ActiveView.CADFile;
newdoc.Layers[i].???????????????Cannot find a remove, delete or somewhat.
Wrong way ?
Best regards
Bernhard

