Go Back   Forums > Professional Forum > AnyBody Managed Model Repository


Thread Tools Display Modes
Old 10-25-2017, 05: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,

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

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

TIP: How to save and load results. 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

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 03:05 AM.