Hide Table of Contents

About Scenarios

A scenario ( .smgSce) file is an XML file that describes the partial or full animation of a set of actors.

See Also
Creating Animations by Animating Actors Individually

A scenario contains a set of tracks with each track associated with a partial or full Net GUID. A Net GUID is an ID based on the name of an actor and its hierarchy in the Assembly tree. When a track is associated with a partial Net GUID, it can be applied to several actors. All actors instanced by the current open product that match the Net GUID of the track receive the animation.

For example:

Net GUID of track 1: b.c Net GUID of actor 1: a.b.c -> get track 1 Net GUID of actor 2: d.b.c -> get track 1 Net GUID of actor 3: e.f.c

<Server Type="CLitServerModifiable"> <CLitActorMesh Name ="LeftWheel" NetGuid="b7aebd17d5886219.8d029e89f289e09f"> <Tracks> […] </Tracks> </CLitActorMesh> </Server> A scenario can reference a list of child scenarios.

<ScenarioChilds> <Child […] /> […] <Child […] /> </ScenarioChilds>

These scenario instances have GUIDs and properties:

  • The GUID of the scenario. Ident = "81d0e51bd1e02c1e"
  • The file name of the scenario to instantiate. IsInstanceOf = ".\wheel.smgSce"
  • The application point characterized by a partial or full Net GUID. Only actors matching this Net GUID are influenced by the referenced scenario. NetGuid = "b7aebd17d5886219.8d029e89f289e09f.95d439236dcee9c5"
  • Apply mode: Tracks issued from the instance can replace tracks issued from the other children or can be merged. Operator = "replace" Operator = "merge"
  • Start and end times: Expressed in the time space of the scenario, it is used to time-stretch child scenarios. TimeStart = "60" TimeEnd = "119"
  • Priority: An integer that sorts the list of child scenarios. The lower child is applied first. Priority = "0"
  • Inheritance: Each child scenario can reference other scenarios, so a Directed Acyclic Graph is built.
  • Override: Tracks described in the parent scenario are applied after the instantiations of the child scenarios and overwrite the existing tracks.


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   About Scenarios
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:




x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: SOLIDWORKS Composer 2024 SP02

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.