Hidden line toggle?
All  1  2-9

Previous
Next
 From:  Nick (NVANLAAR)
4130.2 In reply to 4130.1 
OK,
I found this:

ToggleHiddenLine – to toggle hidden line display on or off quickly.
-----------------------------------------------------------------
script:moi.view.showHiddenLineCurves = !moi.view.showHiddenLineCurves; moi.view.showHiddenLineEdges = !moi.view.showHiddenLineEdges;
-----------------------------------------------------------------

But it doesn't work. I get the error shown here:

Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
4130.3 In reply to 4130.1 
Hi Nick, paste in the following in for the command part of a shortcut key to do that:

script: /* Toggle hidden line display */ moi.view.showHiddenLines = !moi.view.showHiddenLines

Then pushing that key will have the same result as clicking the "Display hidden lines" checkbox on the View palette.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Nick (NVANLAAR)
4130.4 In reply to 4130.2 
Ah geez... it's been one of those weeks...
Now I feel like a complete tool... :-\

This was right below:

v2
---------------------------------
script:moi.view.showHiddenLines =! moi.view.showHiddenLines;
---------------------------------

[Edit]

Thanks Michael. I think I was typing this while you were typing your reply.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
4130.5 In reply to 4130.2 
Hi Nick, I think that other one you posted above worked at one point in v1, but the script properties that it is using changed at some point so use the one I posted above instead.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Nick (NVANLAAR)
4130.6 In reply to 4130.5 
My second posted version works as well. Is there any noticeable difference?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
4130.7 In reply to 4130.6 
Hi Nick,

> My second posted version works as well. Is there
> any noticeable difference?

Nope no difference, they're both doing the exact same thing. I just didn't see your other post yet when I wrote that one.

In the one I posted that part that has /* */ around it is just a comment, I try to stick those in there so that you might have a better chance of remembering what that thing does when you go look at your shortcut keys later on at some point.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Nick (NVANLAAR)
4130.8 In reply to 4130.7 
Thank you.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
4130.9 In reply to 4130.8 
No problem Nick! :)

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1  2-9