article

Phil BoBo avatar image
4 Likes"
Phil BoBo posted Bob.Wang commented

FlexSim 2020 Beta Available

FlexSim 2020 Beta is available. (Updated 26 November 2019.)

To get the beta, log in to your account at www.flexsim.com, then go to the Downloads section, and click on More Versions. It will be at the top of the list.

If you have bug reports or other feedback on the software, please email [email protected] or create a new idea in the Development space.

Release Notes

  • Changed models to automatically open the environment in which they were saved.
  • Added boy and girl shapes to people visuals.
  • Improved keyboard interactions within table views.
  • Improved tabbing between fields in certain windows.
  • Updated the 3D names and stats text rendering to support more fonts and Unicode.
  • Improved the 3D view's lighting capabilities by adding Light objects that can be arranged in the model.
  • Improved lighting in RTX Mode, including support for soft shadows and a denoiser.
  • Adjusted the Rack Dimensions tab to be able to specify slot padding.
  • Added an optional parameter to TaskSequence.create() for waiting until TaskSequence.finish().
  • Added an OnValuePulled event to the List.
  • Added methods for creating a DateTime using a string or component parts.
  • Added support for in-place addition and subtraction of DateTimes.
  • Fixed bugs with DateTime methods when using certain years or ranges of time.
  • Improved the convert() command's capabilities with converting dates and times.
  • Improved the exporting of null bundle values to Excel.
  • Added an excelcreateworkbook() command.
  • Added statistics collectors and calculated tables to the Excel Export.
  • Added an option for creating sheets using the Excel Export.
  • Fixed rotation issues with pasting certain objects.
  • Added a Vec3.projectRotation() method.
  • Added a Vec2 FlexScript class.
  • Changed the License Activation window to be responsive during licensing operations.
  • Added an index type to statistics collector columns for improving performance.
  • Added a categorical combo type to tracked variables.
  • Updated the query builder to handle CASE statements.
  • Simplified certain queries written by the query builder.
  • Changed the tree structure to simplify creating custom webserver interfaces.
  • Added a repeat type to animations for remaining in the last frame after running the animation.
  • Added a Go To Row/Column option in quick properties for tables.
  • Improved time plots to be able to show durations as well as calendar times.
  • Added an optional wire mesh rack visualization.
  • Added more picklist options to the storage object slot assignment strategy.
  • Updated the animator so that keyframes are updated using a right-click menu option instead of automatically.
  • Added an option to duplicate an animation keyframe into another animation.
  • Changed the default network node speed limit to 0 (no speed limit).
  • Reorganized the Use Transport pick list and added a No Transport Reference option.
  • Fixed a bug with the rack's default pull requirement not reevaluating after becoming full.
  • Fixed an issue with copy/pasting sub-locations.
  • Fixed the dark patterns when zooming out in RTX Mode.
  • Fixed a crash on certain hardware in RTX Mode when rendering too many transparent layers.
  • Improved the Time Table Date Based GUI to draw past the last event and allow scrolling into the future.
  • Added PushWheelchair and PushCart animations to Operators

Backwards Compatibility Note: the following changes may slightly change the way updated models behave.

  • Time tables now combine consecutive down periods if using the same state and profile or the same down behavior.
  • Fixed issues with pick/place offsets on drive in racks to improve usability with A*.
  • Because of performance improvements to query(), the row order is not guaranteed unless using an ORDER BY statement.
  • Fixed excelrangewrite() so that the correct overload is available in FlexScript.
  • Improved the FlexScript hypertext preprocessor scoping mechanism used by the webserver.
  • Fixed object color being applied incorrectly to ambient material color on certain meshes.
  • Changed point source light attenuation.
  • Changed TASKTYPE_NODEFUNCTION to pass variants in as parameters instead of interpreted legacy doubles.
    This fixes the types of arguments that are passed when calling treenode.evaluate() as part of a TASKTYPE_NODEFUNCTION task. This allows you to add TASKTYPE_NODEFUNCTION tasks with parameters that are not just numbers, (nodes, strings, arrays, etc.) and have those parameters be preserved in a type-safe manner and properly passed into the subsequent treenode.evaluate() call. However, this change may have some consequences for older models.
    The following guidelines apply:
    1. If you use the inserttask() command, and cast a node to a number with tonum() to pass it in as a task variable, then you should use parnode() to get those parameters out in the nodefunction. While this method will continue to work, this mechanism is nevertheless deprecated.
    2. The now-correct method for adding a TASKTYPE_NODEFUNCTION task to a task sequence is to use TaskSequence.addTask(). This method takes full Variants as its task variable parameters, so you do not need to use tonum(). When using this, you should use param() to get the parameters back out.

    Older models that use neither of these methods may need to be updated to use method 2 in order to work properly in this version.

Process Flow

  • Changed the default behavior of the Create Task Sequence activity to work easier with task sequences created outside of Process Flow.
  • Added a Finish Task Sequence activity that works with the new Create Task Sequence features.
  • Changed the default value of Task activities from token.resource to token.taskSequence.
  • Improved the interface for connecting activities.
  • Added a mechanism for connecting to and from containers and routing tokens between activities using those connections.
  • Added an option to the Run Sub Flow activity to run tokens one at a time.
  • Adjusted the size of containers and connections based on the zoom level when created.
  • Removed the width attributes of themes.
  • Improved the UI for entering times in the Date Time Source activity.
  • Change Set Color By Case and Set Object Color pick options to enable setting the color of a token.
  • Fixed the display of task parameters in the event log.

People

  • Improved people resource shared assets to be able to reference other people resources.
  • Added Sort By and Filter By fields to people resources.
  • Simplified and improved several activity sets.
  • Improved the list of labels in drop-down menus to include People Settings labels.
  • Added a Kiosk to the list of locations.
  • Added an Observation Room multilocation.
  • Added an option to the Toolbox to add all people tables to the Excel Export.
  • Added more people tables and charts.
  • Improved the performance of many existing people tables and charts.
  • Updated preempted resources to be able to be reacquired with a higher priority.
  • Updated Escort Patient and Tranpsort Patient activities to set the staff's TravelingWithPatient label when escorting or transporting a patient.
  • Improved the query builder interface with support for adding group/individual subsets.
  • Changed people acquire activities to have the default max wait timer trigger release the token out connector 2.
  • Changed the Split activity default to creating child tokens in the Healthcare environment.
  • Changed the repeat type of the LayDown and SitDown/SitDown2 animations to repeat the last frame.

Backwards Compatibility Note: the following changes may slightly change the way updated models behave.

  • Changed how labels are handled by People Settings.
  • Improved animations and positioning of transports and equipment when staff move them.

Emulation

  • Added support for OPC UA connections.
product announcementbeta
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Bob.Wang avatar image Bob.Wang commented ·

@Phil BoBo

Hi,The "excelcreateworkbook()" command does not seem to be able to create a new EXCEL file,Can you reproduce my issue?Or is it the parameter incorrect?

excelcreateworkbook( );
excelsetsheet("Sheet1");
excelwritenum(1,1,1);
excelsave("NewWorkBook.xlsx");
excelclose(1);

SWV 2020.1.2

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Bob.Wang commented ·

The Windows current directory is probably not where you think it is right now.

Try passing an absolute path to excelsave() so that the file gets saved where you think it will. If you want to save relative to the model directory, use the modeldir() command:

excelcreateworkbook();
excelsetsheet("Sheet1");
excelwritenum(1,1,1);
excelsave(modeldir() + "NewWorkBook.xlsx");
excelclose(1);
1 Like 1 ·
Bob.Wang avatar image Bob.Wang Phil BoBo ♦♦ commented ·

Thank you very much. It works.

0 Likes 0 ·

Article

Contributors

phil.bobo contributed to this article matthew.gillespie contributed to this article