How to make custom line type

How to make custom line type

greatjpLY9D3
Observer Observer
2,653 Views
21 Replies
Message 1 of 22

How to make custom line type

greatjpLY9D3
Observer
Observer

Hello.

I want to make line type like this - "/   /   /   /   /"

I can't find how to make custom line type.

As i googled, autocad can make new line type, But, not in inventor.

Could you help?

Thank you ahead.

 

0 Likes
Accepted solutions (1)
2,654 Views
21 Replies
Replies (21)
Message 2 of 22

admaiora
Mentor
Mentor

Hi,

you can't at the moment. You can vote the idea here:

 

https://forums.autodesk.com/t5/inventor-ideas/drawings-make-linetype-custom-linetype/idi-p/5226057

Admaiora
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

_____________________________________________________________________________
Facebook | Twitter | Youtube

0 Likes
Message 3 of 22

cadman777
Advisor
Advisor

I also searched for 'custom linetype' for Inventor.

Nothing showed up except a 'wish list' item that hasn't gotten anyone's attention at Autodesk since 2014.

I wouldn't hold my breath!

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
0 Likes
Message 4 of 22

Frederick_Law
Mentor
Mentor

You can pick different linetype file.

Maybe create one in AutoCAD?

LineType-01.jpg

0 Likes
Message 5 of 22

cadman777
Advisor
Advisor

I opened that file and compared it with the list in Styles and it isn't the same.

Isn't that file for Inventor AutoCAD  instead of Inventor idw drawing?

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
0 Likes
Message 6 of 22

Frederick_Law
Mentor
Mentor

In Style Editor, go to Layer.

Pick a layer on the left.

On right side, edit any Line Type.

At the bottom of the list, pick other.

A dialog popup and there is a Load button.

From there you can select a .lin file.

 

So I guess it can use any AutoCAD .lin file?

And select linetype from there?

 

PS

It did not pickup any style that use "ltypeshp.shx" in the "complex linetypes" section.

0 Likes
Message 7 of 22

cadman777
Advisor
Advisor
Accepted solution

I finally found the Inventor linetype (acad.lin). Your guidance got me started. Couldn't figure out how to access it until you showed it. Never needed it so never really looked at it before today. Great idea!

 

Here's what I did: I copied InvANSI.lin and went to the end of the file where the 'Fence' and other non-standard linetypes are. I copied all of them and pasted them just above the ones I just copied, and then added a few blank lines below them. Then in that pasted group of linetypes, I deleted all the info that's in the [square brackets] including the [square brackets] themselves. I did that and all the non-standard linetypes showed up in the list.

cadman777_1-1669671105845.png

 

cadman777_0-1669671088642.png

Unfortunately, the 'OK' button is grayed-out.

Any ideas why and how to get it to work?

Also, any ideas what Setting I can change to redirect Inventor to a different linetype folder?

 

Duh! I read the Help file and it's right there.

You have to select one or multiple linetypes that show up in the LoadLineTypes window, and the 'OK' button lights up.

cadman777_2-1669671473952.png

 

Well, it didn't work. None of the SHX deleted characters show up. So deleting those [SHX] text lines didn't help.

But the Help (see above) says it can be done in BOTH Inventor idw and Inventor dwg files.

cadman777_3-1669671962691.png

 

Maybe 'the goto guy' (Johnson) knows IF text and SHX characters will work in Inventor?

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
Message 8 of 22

greatjpLY9D3
Observer
Observer

Thank you for detailed explain.

I found  solution.

0 Likes
Message 9 of 22

cadman777
Advisor
Advisor

Thanx for the acknowledgment.

What solution did you find?

I'm still trying to figure out how to do it using the '.lin' file.

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
0 Likes
Message 10 of 22

Frederick_Law
Mentor
Mentor

https://knowledge.autodesk.com/support/autocad-lt/learn-explore/caas/CloudHelp/cloudhelp/2019/ENU/Au...

 

Can't get Inventor to use any font.  I tried Arial.ttf, Default.  Also text style name in style.

Only dot, dash and space works.

Message 11 of 22

johnsonshiue
Community Manager
Community Manager

Hi Chris,

 

Many thanks for sharing the info! I think I know what you want to do now. These complex line types depend on Shape files (.shx). Unfortunately, Inventor does not support such files. They cannot be used as the linetypes in the drawing. You may still want to use AutoCAD for such purpose.

Do you know AutoCAD can create associative drawing views to Inventor parts and assemblies? The command is called VIEWBASE. After the views are created, you could use all the drafting tools in AutoCAD to annotate the views.

Thanks again!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 12 of 22

cadman777
Advisor
Advisor

Hi Johnson,

 

I see you found the thread related to my message.

I never really needed any different linetypes with Inventor for over 20 years of use.

Can you believe it?!

I was just trying to help the OP in this thread.

So basically you confirmed that Inventor can't read SHX files.

And I suspect that Inventor can't read [square brackets] as well.

Thanx for your input!

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
Message 13 of 22

cadman777
Advisor
Advisor

Hey Johnson,

Any chance you can find out if we can use ASCII codes in Inventor linetypes?
Or any chance you can dig up a manual on the actual syntax and rules behind making Inventor linetypes.

As you can see in my post, the Help file LIED. LOL! So it can't be trusted.

And I can't find anything in the online help, although I didn't dig deeply, so maybe I missed it.

I just would like closure on this subject, since I spent so much time experimenting and not finding an answer.

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
0 Likes
Message 14 of 22

Frederick_Law
Mentor
Mentor

Nothing fancy.

Like these:

*HOT_WATER_SUPPLY,Hot water supply ---- HW ---- HW ---- HW ----
A,.5,-.2,["HW",STANDARD,S=.1,R=0.0,X=-0.1,Y=-.05],-.2
*GAS_LINE,Gas line ----GAS----GAS----GAS----GAS----GAS----GAS--
A,.5,-.2,["GAS",STANDARD,S=.1,R=0.0,X=-0.1,Y=-.05],-.25

I tried to replace "STANDARD" but nothing worked.

0 Likes
Message 15 of 22

cadman777
Advisor
Advisor

I did the same thing.

I also tried other things as well, but nothing worked.

Haven't yet tried ANSI codes to see if they work, but may try it today.

I think the [square brackets] are unreadable by Inventor.

After all my 'trying', I'm to the point where I just want to read the USER MANUAL on SYNTAX for Inventor linetypes.

Haven't been able to find it yet!

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
0 Likes
Message 16 of 22

Frederick_Law
Mentor
Mentor

I tried: ["HW"] didn't work.

Also:

["HW",,S=.1,R=0.0,X=-0.1,Y=-.05]

["HW",Arial.ttf,S=.1,R=0.0,X=-0.1,Y=-.05]

["HW",Line,S=.1,R=0.0,X=-0.1,Y=-.05], Line is Text Style in Standard

["HW",Default,S=.1,R=0.0,X=-0.1,Y=-.05]

Maybe try without [].

0 Likes
Message 17 of 22

cadman777
Advisor
Advisor

Thanx.

Already tried all that and it didn't work.

If you delete the [] and the shx stuff, you get what I show in my screen caps.

Apparently Autodesk hasn't done shyt to develop this part of the program in well over a decade.

Glad I didn't 'upgrade'.

Not much has changed that benefits me!

KISS...keep it simple stupid!

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
0 Likes
Message 18 of 22

Frederick_Law
Mentor
Mentor

A,.5,-.2,"HW",-.2

A,.5,-.2,GAS,-.25

Didn't work either.

Like you said, didn't need this in the pass 20 years.

IV is better then ACAD and MDT any day.

0 Likes
Message 19 of 22

cadman777
Advisor
Advisor

Yup, I agree.

I'll take Inventor over ACAD and MDT any day of the week.

In the past when business owners bragged about having ACAD and wanting me to use it to design their machinery, I very politely told them 'no thank you'. After showing a dozen or so different business owners why, they still refused to accept it. Gotta luv emotion led people in possession of piles of daddy's money!

... Chris
Win 7 Pro 64 bit + IV 2010 Suite
ASUS X79 Deluxe
Intel i7 3820 4.4 O/C
64 Gig ADATA RAM
Nvidia Quadro M5000 8 Gig
3d Connexion Space Navigator
0 Likes
Message 20 of 22

Frederick_Law
Mentor
Mentor

Still got those: I can draw on paper faster.

Yea, try change it 10 times after.

0 Likes