Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

cut off text in notes

krow72

New member
Is it possible to cut off the part name in text. I know that you can use [.4] to cut off your decimal place number to 4 places so what I am asking is there something similar to use with text. My company uses numbering systems for our drawings and like to use _text to describe the part. In my title block I like to use &dwg_name but want to cut off the _text at the end. Can this be done?
 
hi,
you may create new parameter called "dwg_name1" to use in dwg title block.
Add relation to truncate text from the original parameter using extract function as shown below:

extract([parameter name], [position], [length])
Returns a string of [length] characters from the string contained in [parameter name], starting at [position].

I havent tried it..but it should work if ur dwg. number is having certain fixed number of characters..
 
welcome all...sharing is caring!!!
smiley1.gif


Have you sorted out ur problem Krow72
??? Let us know so we can keep in mind that such things are possible with relation..
smiley1.gif

Edited by: s_pme20
 
Sachin - I have worked around my problem by adding a parameter in my part called PART_NUMBER and typed in the number without the extra naming convention. I then used &PART_NUMBER in my title block and it works fine. I thank you
smiley32.gif
for the link to the relations. I will study this and hopefully it will help me in the future.
 

Sponsor

Back
Top