Importing an object means to get an existing object from another Object Library or Project Model. In other words, the selected object is copied across the Object Library or Project Model boundary. Some issues may be raised:
Simulator incompatibility: The object to be imported may not be recognized by the simulator because the deriving class is incompatible with the simulator.
Version incompatibility: The version of the deriving class of the object to be imported is different from the existing class found in the current Project Model or Object Library.
Missing Class: The deriving class of the object to be imported is not defined in the target.
Conflict Object: An existing object from the same deriving class has been found with the same name.
Fortunately, SansGUI checks all these issues before you can import an object into the current Project Model or Object Library.
An object can be imported by a drag-and-drop operation. You need to put the source and the target documents into the SansGUI environment. It may be helpful to apply windows arrangement functions, such as Tile Horizontally or Tile Vertically from the Windows pull-down menu. Once they are properly arranged, i.e., you can see the Tree Views in the left panes of both source and target, you are ready to import objects:
Find the object from the source document in the Tree View. You may have to switch tabs to find the object.
Click on the object to be imported and hold down the mouse button.
As you move the mouse, the mouse pointer is changed into an outline icon with a + sign, meaning that it is a copy operation.
While still holding down the mouse button, move the mouse pointer to the Tree View of the target document. It does not matter which Tree View in the Left Pane is active. Once the pointer is in any of the Tree Views, release the mouse button. If the object is rejected, the operation is canceled with some error message displayed.
An alternative to import a compatible component object to a Project Model is to click on the object from the source document so that it will be selected into the global Object Toolbox. While it is displayed in the Current Selection field in the Object Toolbox, switch to the target Project Model and start to make a new part from it. The object will be imported automatically before any new part is created.
SansGUI Modeling and Simulation Environment Version 1.2
Copyright © 2000-2003 ProtoDesign, Inc. All rights reserved.