ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
|||
|
|||
Interactive Model challenges
Hi,
When we run model in perspective view, while doing zoom in and out some visual blocks get clicked by mistake and as you know with scrolling visual blocks position start changing. What we were thinking if we can lock the object placement at particular places will help us in resolving this issue and great help as well. Other wise everytime we have to put aside all visual blocks for anychanges. For end user also it creates lot of discomfort. Other thing we are using dynamic script in our model and want to safeguard it from novice users, i am not having no idea how to make it protected. Kindly advise. regards Shashank Trivedi |
#2
|
|||
|
|||
Hi,
On the General Tab on an object, mark Protected. Now the object will be locked at this position. Lars-Olof |
The Following User Says Thank You to Lars-Olof Leven For This Useful Post: | ||
shashanktrivedi (06-01-2011) |
#3
|
|||
|
|||
Thanks alot for your valuable suggestion, its working now.
How about locking script over gui else novice user may temper it and we want to safegurard it from such usage. I am quite sure there must be a mechanism of setting a password for locking script. Kindly advise. Regards Shashank Trivedi |
#4
|
||||
|
||||
I don't think there is way to protect your code, but there are other solutions.
For instance you can put your code in a usercommand and call that usercommand from within your function. The novice can still change the usercommands name but that would be silly and at least it doesn't invite anybody to start playing with the code because there isn't any. Just one line. Another (and better I think) is to change your guis so that they will not show those triggers. But this might be some work |
The Following User Says Thank You to Steven Hamoen For This Useful Post: | ||
shashanktrivedi (06-01-2011) |
#5
|
|||
|
|||
If you want to disable clicking objects on a perspective window you can toggle "ignore objects" on. This will stop you from moving objects of clicking on them to view properties.
In the view settings menu (View | Modeling Utilities | View Settings) there is a tick box for "Ignore Objects". |
The Following 2 Users Say Thank You to mark.gormley For This Useful Post: | ||
shashanktrivedi (06-01-2011) |