Documenting Style behavior

Next
 From:  bemfarmer
11161.1 
A quick note/idea after re-reading Style notes, and trying to reduce an excessive number of user generated Styles during experimentation last winter:

An idea occurs that it might be helpful to document the behavior of MoI's "Style" feature, with respect to:
1. MoI.ini
2. Settings and Style template file. (.3dm) ( likely in MoI AppData file, for Windows, or Mac equivalent)
3. Default Styles definition, and ellipsis icon addition of Styles.
4. Open of a .3dm file, (or other file type).
5. Save As .3dm file, (or other file type).
6. Import ...
7. Export ...
8. (re) Import ...
9. The process of adding or removing one Style, to the Default Template.
10. How to remove "excess" Styles saved with a file.

The behavior seems involved, but also very intuitive.
The forum explains a lot of features.

- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11161.2 In reply to 11161.1 
Hi Brian,

re:
> 1. MoI.ini

Styles are stored in .3dm files, not inside of moi.ini but there are some settings inside moi.ini that affect how commands will process styles.

Some info on these here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=9056.2


> 2. Settings and Style template file. (.3dm) ( likely in MoI AppData file, for Windows, or Mac equivalent)

If you have a template file set under Options > General > "Template file", then MoI will read in the styles from that file for the default style list when MoI first starts up or when you use File > New, or using Scene browser > Styles > ... > "Add default styles".


> 3. Default Styles definition, and ellipsis icon addition of Styles.

Default styles can be set by specifying a template file.


> 4. Open of a .3dm file, (or other file type).

When you open a file, the style list will be cleared and the styles from the file will become the new style list.


> 5. Save As .3dm file, (or other file type).

The current style list will be written to the file.


> 6. Import ...

Import will not clear the current style list unlike Open, it will keep the current content and combine the file content into the current content. If the file being imported has a style with the same name as an existing one the merged objects will be mapped to the already existing one.


> 7. Export ...

Export will generate a compacted style list in the file containing just the styles that had any selected objects using them, unlike SaveAs which writes the full current style list to the file.


> 8. (re) Import ...

Same as the initial import.


> 9. The process of adding or removing one Style, to the Default Template.

Open the template file, then go to Scene browser > Styles > ... > Edit styles. In the edit styles dialog you can push the "Add" button to add a style, and you can remove a style by clicking on the style and then push the "Delete" button.


> 10. How to remove "excess" Styles saved with a file.

Select all and then use File > Export. The file that is generated should have a compacted style list that will omit styles that had nothing assigned to them. Export writes only the selected objects out to the file unlike SaveAs which writes everything regardless of selection.


Hope this helps! - Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  bemfarmer
11161.3 In reply to 11161.2 
Thank you Michael, for the concise descriptions.

- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All