×
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

Subcript text in dimension prefix

Subcript text in dimension prefix

Subcript text in dimension prefix

(OP)
Hi to all,

I would like to add this prefix to my dimension, but I don´t know how.

At the moment I´m just adding a normal text close to the dimensions.

Airin
NX Designer

RE: Subcript text in dimension prefix

Hello,

Is that pic from CATIA? Do you need this in Drafting design workbench? Do you want it by script or manually?

Here is the manual method:



Hope it helps.
Calin

RE: Subcript text in dimension prefix

And here is how you do it by script:

CODE -->

Sub myText()
    Dim oDoc As DrawingDocument
    Set oDoc = CATIA.ActiveDocument
    
    Dim oView As DrawingView
    Set oView = oDoc.Sheets.ActiveSheet.Views.Item(2)
    
    Dim oText As DrawingText
    Set oText = oView.Texts.Add("A1 = 120", 10, 10)
    oText.SetParameterOnSubString catSubscript, 2, 1, 1
    
End Sub 

Hope it helps,
Calin

RE: Subcript text in dimension prefix

(OP)
Thanks Calin,

But my doubt is in a dimension, not in a normal text.



This pic is from NX. (I´m NX designer fighting with Catia). In NX you just have to add the text between <l>text<l>



I´m doing my drawing manually, not by script.

Airin
NX Designer

RE: Subcript text in dimension prefix

Create a normal text with << D0 = >> then right click on text -> Positional Link -> Create and select/click the dimension. Now, anywhere that dimension goes, the text will follow.

I don't know other methods.

Sorry.

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