Jump to content

NMeseth

Members
  • Content Count

    151
  • Joined

  • Last visited

Community Reputation

0 Neutral

About NMeseth

Converted

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. NMeseth

    Using XML to edit model

    I strongly disagree with Petr on the idea to build version control into Simio. Please don't! There are a lot of very good tools for that, for example GIT. Please invest the development resources into features that make Simio even better in terms of simulation modeling capability. I want to underline the wish to be able to edit all parts of the model in pure XML. I also don't quite get why writing models in XML would pose a problem for Simio: 1. The modeling capabilities of Simio are outstanding so that you will always need and want a license of Simio 2. You'd still need a Simio license to run the model 3. For the purpose of productionizing simulation models and making the model more dynamic, it would be a required feature to edit it in XML. An analogy: In many projects where we built data integration pipelines with Microsoft SSIS (also saved in XML format) we greatly benefitted from being able to generate parts of the integration pipeline at runtime. Examples are replacing parameters, adding and removing certain components as needed for a particular run etc. When building a simulation model for running every day, for example, similar capability's would be required. Thanks Nicolas
  2. NMeseth

    Using XML to edit model

    I would also like to underline this point again. It is still valid and it would offer a great benefit if we could generate / edit XML directly AND be able to load the model in Simio. BR Nicolas
  3. NMeseth

    Reading and setting nested states

    Ok, so in the example you pass in the states "Movement.X" etc in as a state property. This means you cannot access nested properties from within the C# code, right? But this works fine, you just have to know how to do it. Thanks for the (late) reply
  4. Hi, I am stuck with a problem: I have a custom step to write information to a database. One of the values I want to send to the database is the name of a custom object. When I use the shipped FileElement and I put in the following expression into one of the parameters, the name of the object as it is set in Simio is correctly written to the file Token.AssociatedObject.Sensor.Name => results in "Sensor_1" etc. If I try the same with my custom step, I always get the literal string as result, not the actual name of the object Token.AssociatedObject.Sensor.Name => results in "Token.AssociatedObject.Sensor.Name" I tried using a string property and an expression property, no luck. How did you implement this in the file element? Can you provide the code please? Thanks, Nicolas
  5. NMeseth

    Custom enumeration gets lost after reloading model

    Thanks for the very fast fix!
  6. NMeseth

    Are there Visual Studio Templates for newer versions?

    Ok, I should have read properly, I put the project templates in the item folder. After moving them it now works! Thanks very much!
  7. NMeseth

    Are there Visual Studio Templates for newer versions?

    Thanks Glen, I did as you said, put all the files into the specified folder. Then I started VS 2015 and wanted to create a new project, but I can't find the templates. Do I have to unzip? Where do I find them? BR Nicolas
  8. NMeseth

    Custom enumeration gets lost after reloading model

    Thanks, I just send the issue, code, and example model to the Simio support.
  9. Hi all, I have built a custom element and within the code I defined a custom enumeration for a property. Works fine. Now I want to use that element inside an object, and pass the element's property (the one with the custom enumeration) as a referenced property. When I click -> Create new referenced property, Simio put in "Enum Type" the value "Sensors.SensorElementDefinition+SensorTypes", which seems to reference my custom enumeration correctly. I can run the model and everything works as expected. However, when I save and close the model, the next time I open the model Simio loses the information in "Enum Type" and cannot reference the custom enumeration anymore. Even if I copy and paste the exact same value. I have to re-create the referenced property evertime I open the model. I think this is a bug, or am I doing something wrong? Thx Nicolas
  10. NMeseth

    Use a custom enum type for enum property

    Thanks for the prompt reply, that worked! Nicolas
  11. Hi, I am building a custom element and would like to add a new EnumProperty via ...AddEnumProperty-method. I would like to use a custom enum for this property. How can I do this in code? I have read the API documentation, but I have no clue how to do it. An example would be greatly appreciated. Thanks Nicolas
  12. NMeseth

    Monitor for String Type Variables

    I would like to emphasize the request to monitor expressions. Also, it would be great to pass a repeating group of states to a monitor so that all states are monitored and the monitors fires if any of those states changes. Thx Nicolas
  13. Hi all, is it possible to change objects to other colors then in the standard palette? I would like to create a showcase with a pretty animation, and I want some branding in it with colors from the company. It would be great if I could enter the HEX codes for the colors? Is this already possible? Thx, Nicolas
  14. Hi there, the templates proved to be very useful. Do you have updated versions for Visual Studio 2012 and greater? I am using the VS 2015 Community RC edition, and I cannot install the .vsi files. Any ideas? Nicolas
  15. NMeseth

    Connect Simio to a C# App

    It depends on what you mean by "seeing it running". You can trace its progress while it runs and you can display the status of the experiments, but you don't see the animation. That you only see when you open the model with the Simio desktop application.
×