As said I tried attaching it as word doc, wont alow, then as rtf, wont allow.
I had colour coded the bits I wanted to show what I added then deleted, txt file disallows any colour.
I shall attach as text but text doesnt allow bold or italic ?
Hi, @Gijs
I was being told that anything siTting on a drive can be lost then button doesnt work, so to paste it within the button, and was working to the suggested wiki article on doing so, @Helvetosaur
was all about this being best way. So now it isnt best way.
If its about posting in a thread, How do I reference a script that was made for me, or so I recall, if I say see Notcher, can people see the script ?
I needed it for building an aircraft, I recall it was made for me, I may be wrong.
Please explain how I reference a script in a thread here…
even then I am wanting to show what I have persoanlly done to it to get it to be ok in a button, prefixing it and deleting out bits as per your example, I need to show what I have done, so need to post the script somehow. and show the bits added and deleted. How do I do that ?
I am new to scripts so unfamiliar with how they can be shown, especially how to show my personal coding.
How do I reference my own coding for folk ?
I am spending a day making nice buttons for scripts that dont run, then being told to store them (scripts) on a drive instead as I used to, so I am totally lost now as to what is best to do.
Yes,
I am following Helvetosaurs advice to avoid broken references, and keep scripts within button, ditto wiki article. @Helvetosaur
So what have I done wrong with this code ?
I have again tried the Notcher, this time drag and drop, I get this error when running it by typing Notcher as a command line entry, I select the item then the gap then the adjoining one both to be notched and get error. :-
I have all other codes running now, .py, .rhp and .rvb and those mentioned
SomeLayersOn.rvb…drag n drop then works as button runs command.
Turn off layers for unselected objects…SomeLayersOn.rvb button runs command
SelPlanar.rvb a batch of commands, noted in word doc crib sheet keywords, all work ConeByAngle.rvb works button runs command.
…but cannot backup PC declaring V7 with buttons and codes working with notcher failing. I must continue again my win10 build, its been 5 weeks now and my Rhino V7 horse is still refusing to jump the fence,
All race goers have gone home !
What is wrong with Notcher ? ( a horse called Notcher ! )
Sorry I gave some wrong info. I need to look into this on a pc tomorrow (it’s late here 1 am)
I do see in another thread that Pascal mentioned something is wrong with the Private statement in Rhino 7, so this could be well the issue.
Hi, ok,
but if it errors when drag n drop to v5, and run from command line, it cant be due to any coding within, esp as I havent touched the original .rvb file.
and I have found something interesting, If one has two objects , two thin slabs made with box tool, and lay them together in the final notched and glued together configuration, then run the command in V7, it notches them !
do the same in V5 and an error still occurs
and moving the two blocks aside they are in bits.
I now download the file later in that thread, I drag drop to V5, run the command Notcher and yet again it errors.
Clearly the code is wonky !.
I then try the 1st notcher again that just worked fine in V7 when objects are in final glued together configuration, creating two new objects , and this time it errors !