ATTENTION

This 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

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 05-31-2011
shashanktrivedi shashanktrivedi is offline
Flexsim User
 
Join Date: Apr 2011
Posts: 59
Downloads: 26
Uploads: 0
Thanks: 26
Thanked 16 Times in 3 Posts
Rep Power: 122
shashanktrivedi will become famous soon enough
Default 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  
Old 06-01-2011
Lars-Olof Leven Lars-Olof Leven is offline
Flexsim Distributor
 
Join Date: Aug 2007
Location: Sweden, Borlnge
Posts: 312
Downloads: 278
Uploads: 2
Thanks: 300
Thanked 256 Times in 139 Posts
Rep Power: 330
Lars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to beholdLars-Olof Leven is a splendid one to behold
Default

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  
Old 06-01-2011
shashanktrivedi shashanktrivedi is offline
Flexsim User
 
Join Date: Apr 2011
Posts: 59
Downloads: 26
Uploads: 0
Thanks: 26
Thanked 16 Times in 3 Posts
Rep Power: 122
shashanktrivedi will become famous soon enough
Default

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  
Old 06-01-2011
Steven Hamoen's Avatar
Steven Hamoen Steven Hamoen is offline
Talumis, Flexsim Distributor, The Netherlands
 
Join Date: Aug 2007
Location: Soest, NL
Posts: 854
Downloads: 43
Uploads: 0
Thanks: 391
Thanked 661 Times in 379 Posts
Rep Power: 684
Steven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond repute
Default

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  
Old 06-01-2011
mark.gormley mark.gormley is offline
Flexsim User
 
Join Date: Oct 2008
Posts: 58
Downloads: 12
Uploads: 0
Thanks: 32
Thanked 63 Times in 29 Posts
Rep Power: 181
mark.gormley has a spectacular aura aboutmark.gormley has a spectacular aura about
Default

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)
  #6  
Old 06-01-2011
shashanktrivedi shashanktrivedi is offline
Flexsim User
 
Join Date: Apr 2011
Posts: 59
Downloads: 26
Uploads: 0
Thanks: 26
Thanked 16 Times in 3 Posts
Rep Power: 122
shashanktrivedi will become famous soon enough
Default

Thanks alot

I take your recommendations, will live up to this fact of not locking up script.

Kindly let me know, if there is any way out.

Regards
Shashank Trivedi

Tags
interactive, script lock



All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.