×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Hide tangent line & convert centerlines

Hide tangent line & convert centerlines

Hide tangent line & convert centerlines

(OP)
Hi all,
I deal with creation of tube / pipe drawings in Catia V5 R18 & 19 from models.
My major time is spend in hiding the tangent lines & converting the center-lines. The drawings are big in size. Refer the attached image file, this is just a view of a drawing.

http://files.engineering.com/getfile.aspx?folder=0...

Is there a setting or macro which can help me.

Regards,
Sundeep

RE: Hide tangent line & convert centerlines

Hello Sundeep,
You may try the following
  1. Select all views
  2. [Properties]>[View Tab]>[clear Fillets checkbox]>[Apply]>[OK]
Tangent(boundary) lines shall disappear

-GEL
Imposible is nothing.

RE: Hide tangent line & convert centerlines

(OP)
Thanks GEL this works fine.smile
Any idea about the centerlines.
regards,
sundeep

RE: Hide tangent line & convert centerlines

You are welcome.

Quote (sundeep98)

Any idea about the centerlines.
As far as concerning the centerlines I need to know how these have been created.

-GEL
Imposible is nothing.

RE: Hide tangent line & convert centerlines

For the center line you can use Generative view style (check documentation) so wireframe will inherit line type.
You will have to keep the center line in show in 3D.

Eric N.
indocti discant et ament meminisse periti

RE: Hide tangent line & convert centerlines

(OP)
The centerlines are derived from 3D.
CatiaV5 R18 & R19

RE: Hide tangent line & convert centerlines

Hello Sundeep198

You may try the following:

  1. Select all views in the drawing
  2. Select [Properties]>[View Tab]
  3. Clear [Fillets] checkbox
  4. Check [Hidden lines] checkbox
  5. Check [3D Wireframe] checkbox and make sure that the [Can be hidden] radio button is pressed
  6. Select [Apply]>[OK]
Note: All these setting can be done in the [Tools]>[Options]>[Mechanical Design]>[Drafting] if you need to have them as standard settings

-GEL
Imposible is nothing.

RE: Hide tangent line & convert centerlines

(OP)
Hi GEL,
I am getting what i need, but hidden lines are not required.

RE: Hide tangent line & convert centerlines

Hi Sundeep198,
This means that
  • The centerlines in the relevant catpart already have the dash-dot linetype.
  • The used GenerativeView file has been set so that for the wireframe elements in the drawing inherit their linetype from the model
Yes, all required settings can be done by creating a new or modify an existing Generative View file.

-GEL
Imposible is nothing.

RE: Hide tangent line & convert centerlines

Im having the same issue. How can the centerline be shown with enabling the hidden lines?

RE: Hide tangent line & convert centerlines

Quote (Gigamesh99)

How can the centerline be shown with enabling the hidden lines?
I'm not really understand your question. Can you explain a little bit more?

-GEL
Imposible is nothing.

RE: Hide tangent line & convert centerlines

What I mean is how can the axis (usually created with a polyline for this kind of tubes) be shown as centerline and, at the same time, not to show the hidden lines? Just as sundeep198 is showing in his image in the first post. What could be the best way to achieve it?

RE: Hide tangent line & convert centerlines

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:
  • Get in the C:\Program Files\Dassault Systemes\B20\intel_a\resources\standard\generativeparameters directory (Your directory may be different)
  • Make a copy of the file DefaultGenerativeStyle.xml and rename it to what you like.
  • Open the file and locate the Node 3D Inheritance. It will look like this:

  • CODE --> XML

    - <std:node name="3DInheritance">
      - <std:node name="Wireframe">
      - <std:node name="Color">     <std:enumval name="YesNo">No</std:enumval>  </std:node>
      - <std:node name="Linetype">  <std:enumval name="YesNo">No</std:enumval>  </std:node> 
      - <std:node name="Thickness"> <std:enumval name="YesNo">No</std:enumval>  </std:node>[/li]
    .... 
  • In the line where the value of LineType property is defined (the bold one) change the underlined value to Yes

  • CODE --> XML

    - <std:node name="3DInheritance">
    - <std:node name="Wireframe">
      - <std:node name="Color">     <std:enumval name="YesNo">No</std:enumval>  </std:node>
      - <std:node name="Linetype">  <std:enumval name="YesNo">Yes</std:enumval> </std:node>
      - <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]
  • 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.
  • All visible wireframe features in the model will be presented in the drawing view with the same linetype as in the model.

-GEL
Imposible is nothing.

RE: Hide tangent line & convert centerlines

Hi Sundeep,
Use the vertical slidebar to move down and you will see the rest of the tab fields.

-GEL
Imposible is nothing.

RE: Hide tangent line & convert centerlines

GELFS:

I tried the above method on CATIA V5R16 and there was no Generative View Style menu at the bottom of the view tab. On the other hand, using CATIA V5R20 there it was, unfortunately (even after the xml archive modification) it was dimmed and unable to activate. Any ideas what the problem could be.

Thanks in advance for your great help!!!

RE: Hide tangent line & convert centerlines

Hi Gilgamesh99.

Two things may happen:
One, you have selected more than one view before opening of the |Properties| dialog box. Try again with only one selected view. For some reason the [Generative View Style] combo box is disabled in case of multiply views selection.
Two, Your system administrator has locked this option. Contact your system administrator.

Note: In case we like a post then we shall star it. By this, other viewers are also informed about interesting posts.

-GEL
Imposible is nothing.

RE: Hide tangent line & convert centerlines

One more thing may be the root of your problem. That the Generative View Style functionalities are deactivated.
Go to [Tools] > [Options] > [Mechanical Design] > [Drafting] > [Administration] tab, and clear the [Prevent generative view style usage] check box. This activates the generative view style functionalities.

-GEL
Imposible is nothing.

RE: Hide tangent line & convert centerlines

Thanks a lot. As usual you're a great help thumbsup2

RE: Hide tangent line & convert centerlines

I do tube drawings as well and I am having a difficult time getting the all the tangent lines to show up (some show up, some don't). I think I have tried every suggestion & variation from this post with no luck. I need the tangent lines & the centerlines to show up in every view. As it stands now, I can only get one or the other depending on which options I choose. I have found that if I change the View Generation Mode to "CGR" or "Approximate", the tangent lines appear but the centerlines disappear. Those modes also disable most of the Dress-up buttons.

Please help!

RE: Hide tangent line & convert centerlines

Hi danicole,

It works for me.
With the following settings in the view properties:

Fillets:Boundaries: checked
3D WireFrame:Is always visible: checked
Generative View Style: set to my customized generative view style filename

I get displayed tangent and centerlines.

What is the version you use?

-GEL
Imposible is nothing.

RE: Hide tangent line & convert centerlines

Hi! GEL,

I just looked this forum & am having a problem in my standard .xml file for Default Generative Style. I am not able to locate the node "3D Inheritance" in this file.

Can you please help ?


Regards,

Himanshu

RE: Hide tangent line & convert centerlines

Hi Himanshu,

In the file DefaultGenerativeStyle.xml, the first nodes are definitions of used enumerators.
At the end of them, there is the node named Drafting
The second sub-node of Drafting node is called ViewDressup
The second sub-node of ViewDressup node is the 3DInheritance

CODE -->

<std:node name="Drafting">
<!--   Drafting application parameters-->
   <std:node name="Generate">
      ...   
   </std:node>
   <std:node name="ViewDressup">
      <std:node name="Operators"
          ...
       </std:node>
      <std:node name="3DInheritance">
         <std:node name="Wireframe">
            <std:node name="Color">
               <std:enumval name="YesNo">No</std:enumval>
            </std:node>

            <std:node name="Linetype">
               <std:enumval name="YesNo">No</std:enumval>
            </std:node>

            <std:node name="Thickness">
               <std:enumval name="YesNo">No</std:enumval>
            </std:node>
         </std:node>

         <std:node name="Solid">
            <std:node name="Color">
               <std:enumval name="YesNo">No</std:enumval>
            </std:node>

            <std:node name="Linetype">
               <std:enumval name="YesNo">No</std:enumval>
            </std:node>

            <std:node name="Thickness">
               <std:enumval name="YesNo">No</std:enumval>
            </std:node>
         </std:node>

         <std:node name="3DPoints">
            <std:node name="Color">
               <std:enumval name="YesNo">No</std:enumval>
            </std:node>

            <std:node name="Symbol">
               <std:enumval name="YesNo">Yes</std:enumval>
            </std:node>

            <std:node name="Name">
               <std:enumval name="YesNo">No</std:enumval>
            </std:node>
         </std:node>
      </std:node>
      <std:node name="GeneratedGeometry">
         ...
      </std:node>
      </std:node>
   </std:node>
</std:node>
... 

-GEL
Imposible is nothing.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources