Beruflich Dokumente
Kultur Dokumente
InBlocks
Introduction.............................................................................................................................................. 3 InBlock definition .............................................................................................................................. 3 InBlock instance ................................................................................................................................ 3 Schema ............................................................................................................................................... 4 Types of InBlocks .................................................................................................................................... 5 Hardcoded .......................................................................................................................................... 5 InBlocks stored in DB4 files ............................................................................................................. 5 Catalogue InBlocks ........................................................................................................................... 6 Template InBlocks............................................................................................................................. 7 Inserting of InBlocks into project .......................................................................................................... 8 Manipulations with InBlock instances .................................................................................................. 9 Instance manager .............................................................................................................................. 9 Changes in InBlock definition .............................................................................................................. 10 Common setting of InBlock definition ................................................................................................ 11 Protection of InBlock ...................................................................................................................... 11 Statuses of InBlock definition ........................................................................................................ 11 Definition document........................................................................................................................ 13 Drawing style ................................................................................................................................... 14 Explanation picture and icon ......................................................................................................... 15 Updates of InBlocks .............................................................................................................................. 16 Document & XML ................................................................................................................................... 17
Introduction
The InBlock is new special object in Scia Engineer. It stores a separate project (part of structure) and can insert or update instances of this project in the main project. There are InBlock definitions and InBlock instances in the project.
InBlock definition
InBlock definition contains the internal Data Server (DS) with a part of the model. In the properties of InBlock definition parameters of the project stored in InBlock DS are defined together with other properties which are common to all InBlock definitions. For description of definition properties will be given in following chapters.
InBlock instance
InBlock instances are defined by insertion point (or more points in case of multiple instances) and by the reference to the InBlock definition. There is also a link between the instances and the basic Scia Engineer-members belonging to the instance. On instances an update action which changes linked Scia Engineer-members linked to the definition according to status of project stored in DS of InBlock definition can be applied. There are two types of InBlock instances available: - instance on single vertex with LCS - instance on repeated vertexes with LCS
Schema
There is a list of properties with values, icon and static picture as a preview of the InBlock. This type of InBlock enables storing of all properties of InBlock definition (i.e. protection, definition document, icon, explanation picture and style of instance update). This is the only way how to use one user-made InBlock in several project with all necessary settings.
Note:
When a Template InBlocks is stored to DB4, then it stores the path to the template file. When sending this DB4 to another user (another machine) you need to send also the file and modify the path on second machine. DB4 file with InBlock definitions must be placed in User directory and must be named EP_StructuralBlock.db4 to be visible in the tree.
Catalogue InBlocks
This type of InBlock enables the user to insert a regular Catalague block as an InBlock. It means that it is possible to change parameters of this catalogue block lately, when it is already inserted into project. The whole list of all catalogue blocks is available.
In the properties of catalogue InBlocks definition there are parameters from the catalogue block. Also the geometry editor of the Ctalogue block is available. It is accessible via button Catalogue block editor.
Note:
Catalogue blocks are independent on national code and can be inserted to any project with any national code.
Template InBlocks
Any project stored in User block libraries directory can be inserted as a template InBlock. If there are subdirectiories, then they are displayed as tree in the list of available InBlocks.
The user Template InBlock definitions and subsequently instances can be modified via button Edit template parameters or Catalogue browser from properties of InBlock definition.
Note:
In the properties of the definition there is also the filename with the path. It enables the user to change the template file, but this must be considered when using a project with such InBlock on more than one computer. The project which already contains an InBlock definition cannot be inserted as a template InBlock (nested InBlocks are not supported)
When the user inserts a new InBlock to a project he can select from the list of available InBlocks. The list is tree-sorted by types. Filtering of the list is available.
When the user launches New InBlock then he can select from all available types. If he launches New catalogue InBlock or New user InBlock then the list is filtered and only relevant InBlocks are displayed. When user selects some type then it is stored to the library manager with definitions. From this library manager it is possible to insert instances to the project (Insert existing InBlock).
Instance manager
Instance manager is accessible via the action button in the properties of an InBlock definition.
It lists all instances from the definition. Here it is possible to do all standard library operations: (New instance, edit instance, copy instance, delete, undo, redo) In addition, there are available special functions related to instances only: (Deep update, standard update, disconnect link between instance and generated objects, remove objects generated by the instance from main project).
10
Protection of InBlock
Two types of InBlock protection are available: (for setup of the protection see next chapter) - protection of administration - protection of using The user of an InBlock with protected administration can modify drawing style, outside changes and style of instance update only. Changing the definition of the document, explanation picture, icon and protection is protected by administrator password. Working with instances is not limited (protected). Modification of InBlock parameters is allowed. In fact the modification of parameters is allowed but the update of definition is protected so unauthorized user cannot change anything in the InBlock. Instances can be freely inserted to the project, updated, etc The user InBlock with protected using has the same restrictions as the ones with protected administration. In addition modification of InBlock parameters (update of definition) is protected by password or other means of protection (see chapter about Protected InBlock in administrator mode).
11
In the Administrator mode it is possible to modify all settings of InBlock and in addition the details about InBlock protection. User (administrator) can change administrator password or remove InBlock protection at all. User (administrator) can also change the protection of the InBlock. There are available two types of this protection: 1. by COM object (simple COM object created by the user (administrator) and identified by its CLSID. The evaluation of protection implemented in COM is arbitrary. The intention is that it will use Scia Engineer defender and check commercial modules. 2. by password
In the user mode it is not allowed to modify the protection setting. It is also not available to change the explanation picture or icon. Also the definition document template cannot be changed. When the user wants to switch to the Administrator mode he is asked for the administrator password.
12
Definition document
The definition document can present data from Data Server of InBlock definition. It can display all entities in the definition. The position of nodes in coordinate system of project stored in definition DS. The definition document can be assigned by selection of a standard document template. Then it can be previewed using action button in the properties of the definition. Once the document template is assigned, it is marked in properties and button for removing appears. Also an action button for preview is available once the template is assigned.
13
Drawing style
Two drawing styles are available in the properties of InBlock definition: 1. Bounding box 2. Mark (cross in insertion point)
The picture shows the Portal Frame InBlocks displayed with Bounding box. The Wall InBlocks are displayed using the Mark option.
14
15
Updates of InBlocks
Two update styles are available: 1. Standard 2. Deep The user can modify the style of update in properties of InBlock definition.
Standard update
Standard update: this update works the same as the ESA-ESA update. It compares the properties of old and new objects and modifies only the different ones. The standard update is intended to keep the lately added add-data but development of this should still be finished. In some cases standard update produce incorrect shape of structure.
Deep update
Deep update: this update deletes existing entities which were generated by the InBlock instance and creates them newly. Add-data which were added on those entities are lost after deep update. Deep update always produce correct shape of structure. When Update on manipulations is checked, then after each manipulation with instance (move, rotate, etc...) is automatically started update of this instance. Otherwise the update must be started manually from instance action button.
Update of all instances related to some definition can be also launched from action button Deep update for all instances from properties of definition.
16
17