Forums Anyscript.org  

Go Back   Forums Anyscript.org > Professional Forum > AnyBody Managed Model Repository

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 10-25-2017, 04:44 PM
L_Budde L_Budde is offline
Junior Member
 
Join Date: Oct 2017
Posts: 1
Default Bike Model - Setting Values

Hello everyone,

I am currently trying to implement a python program which is able to set the values for the bike in the Bike-Model of the AMMR. Unfortunately the operation 'Set Value' seems not to be allowed for the BikeParameters and I can not figure out why. (The operation is not available in the AMS GUI as well)
I already copied the complete AMMR-folder into another working directory and double checked that the "BikeParameters.any" file it is not read-only.

Does anybody know how to solve this problem?

Best regards,
Leon

AMMR version 1.6.3; AMS version 6.0.4 64Bit
Reply With Quote
  #2  
Old 10-27-2017, 02:31 PM
toerholm's Avatar
toerholm toerholm is offline
AnyBody Support
 
Join Date: Feb 2009
Posts: 907
Default

Hi Leon,

Please try to add DesignVar around the variables so e.g.

AnyVar test =DesignVar(2.0);

This should help solve the problem, if not please write again.

Best regards

Søren
__________________
TIP: How to save and load results.
http://wiki.anyscript.org/index.php/All_about_AnyBody_Modeling_System#Save_Load_and_Re play_Results

Subscribe to the forums, click the 'Forum Tools' link above the list of threads then select 'Subscribe to Forum'. You will then have the option to choose the subscription mode for this forum and get an email automatically.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:06 AM.