Hello Gilgamesh99
A Drawing is composed out of Views. Each View is generated by a View Generator Machine. This machine has a number of parameters(properties).
A small part of these parameters is shown in the Properties dialog box in its View tab. In [Properties]>[View] are appearing, let's say, only the 'main switches' but not all the parameters.
For example, if we want to show in a view the wireframe features of our model we just need to check the [3D Wireframe] option. This main switch will allow us to turn on/off the wireframe features but will not allow us to specify how this features will be presented in the view ie we cannot define the 3D Inheritance parameters of a Wireframe feature like the Linetype one, which controls whether the feature in the drawing view will inherits its linetype from the model.
All these parameters are defined in a
Generative Style file (which is an Xml file) which is read by CATIA.
Now that we have basic understanding of how CATIA works, lets move on how to access and edit these parameters.
We have two ways to go. One, to directly access the Generative Style file(s) folder and edit the relevant file with an XMLEditor (or any Text Editor like Notepad). Two, to do the work through CATIA. The full set of parameters is in the [Properties]>[Standard tab] if you click [More...] button but are not editable unless you are in Admin Mode. So, in this case we need to run CATIA in Administrator Mode, which is another story.
In the first case, just we need to:
[ul]
[li]Get in the C:\Program Files\Dassault Systemes\B20\intel_a\resources\standard\generativeparameters directory (Your directory may be different)[/li]
[li]Make a copy of the file DefaultGenerativeStyle.xml and rename it to what you like.[/li]
[li]Open the file and locate the Node
3D Inheritance. It will look like this:[/li]
XML:
- <std:node name="3DInheritance">
- <std:node name="Wireframe">
- <std:node name="Color"> <std:enumval name="YesNo">No</std:enumval> </std:node>
[b]- <std:node name="Linetype"> <std:enumval name="YesNo">[u]No[/u]</std:enumval> </std:node>[/b]
- <std:node name="Thickness"> <std:enumval name="YesNo">No</std:enumval> </std:node>[/li]
....
[li]In the line where the value of LineType property is defined (the bold one) change the underlined value to Yes[/li]
XML:
- <std:node name="3DInheritance">
- <std:node name="Wireframe">
- <std:node name="Color"> <std:enumval name="YesNo">No</std:enumval> </std:node>
[b]- <std:node name="Linetype"> <std:enumval name="YesNo">[u]Yes[/u]</std:enumval> </std:node>[/b]
- <std:node name="Thickness"> <std:enumval name="YesNo">No</std:enumval> </std:node>
....
Now that we have completed the customization of our new Generative View Style file let's implement it[/li]
[li]Go back to your drawing and open the properties dialog box of a view. At lower part of view tab, open the [Generative View Style] combobox and select our customized new Generative View Style file.[/li]
[li]All visible wireframe features in the model will be presented in the drawing view with the same linetype as in the model.[/li]
[/ul]
-GEL
Imposible is nothing.