How to customize Linetype appearance

How to customize Linetype appearance

Michelle.TorresH7L9G
Participant Participant
1,761 Views
17 Replies
Message 1 of 18

How to customize Linetype appearance

Michelle.TorresH7L9G
Participant
Participant

Good day everyone!

 

is there any way to customize the appearance of this Line (please see below image)? 

MichelleTorresH7L9G_0-1708939885298.png

 

Actually i exported my P&ID drawing from AutoCAD P&ID to Autocad. And when I open the drawing the software (software link) line appearance is not correct.

 

autoCAD P&ID drawing:

MichelleTorresH7L9G_1-1708940119287.png

 

normal AutoCAD drawing

MichelleTorresH7L9G_2-1708940161445.png

 

thank in advance!

 

 

0 Likes
Accepted solutions (1)
1,762 Views
17 Replies
Replies (17)
Message 2 of 18

cadffm
Consultant
Consultant

Hi,

share a .dwg with this one line, it's easy to check the issue (for some).

Sebastian

0 Likes
Message 3 of 18

paullimapa
Mentor
Mentor

It would also be helpful to include the .lin file that shows the definition of this linetype called “software”


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 4 of 18

Kent1Cooper
Consultant
Consultant

That looks like a missing .shx file containing the shape definition for the circle.  But I notice the scale of the dashes on the right is different from the left in the "wrong" image, whereas it appears the same in the "right" one.  So something else is going on -- the converted one is not actually from the same file as the unconverted image?  two different linetypes that happen to be defined the same way in one situation but differently in the other?  two different linetype definition files?  something else?

 

A small sample drawing, and the linetype definition file [or files?], would be needed.

Kent Cooper, AIA
0 Likes
Message 5 of 18

pendean
Community Legend
Community Legend
Your AutoCAD session is missing a shape file: unless you turned off that alert because it was "inconvenient", AutoCAD will tell you right away when you open the file if you have a missing SHX file or not.
Find out what it is looking for, the use ENTRANSMIT command from P&ID to capture all content your AutoCAD session needs.
0 Likes
Message 6 of 18

Michelle.TorresH7L9G
Participant
Participant

Hi there! yes you are right... i see this when i open the drawing...

MichelleTorresH7L9G_0-1709007489475.png

0 Likes
Message 7 of 18

Michelle.TorresH7L9G
Participant
Participant

it's the same linetype actually but i don't know why it become like that when i converted to autoCAD.

my colleague is trying to modify the acad.lin, he is still working on it...

 

attached is the acad.lin that he modified but still he didn't get the linetype that i want 🙂

0 Likes
Message 8 of 18

Michelle.TorresH7L9G
Participant
Participant

it shows like this when my colleague tries to modify the acad.lin 

MichelleTorresH7L9G_1-1709008145352.png

 

 

0 Likes
Message 9 of 18

Michelle.TorresH7L9G
Participant
Participant

attached are the .dwg and .lin files

0 Likes
Message 10 of 18

Michelle.TorresH7L9G
Participant
Participant
i attached the files below 🙂
0 Likes
Message 11 of 18

Michelle.TorresH7L9G
Participant
Participant
i attached the files below 🙂
0 Likes
Message 12 of 18

paullimapa
Mentor
Mentor

Still missing is the shx shape file. That’s been the problem all along. Attaching the dwg and lin do not correct the problem 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 13 of 18

paullimapa
Mentor
Mentor
Accepted solution

so I modified the Software linetype definition which shows it's using shape file called ltypeshp.shx, saved it in a separate file and called it Software1.lin

 

 

*SOFTWARE1,Software Link -- O -- O -- O --
A,.25,-.45,[CIRC1,ltypeshp.shx,x=-.1,s=.1],-.45,1

 

 

I used the LINETYPE command and selected Load button, then the File button and I choose my revised Software1.lin linetype file, then on the Available linetype window I selected Software1 to be inserted into the drawing.

paullimapa_0-1709016744750.png

I then selected all similar objects matching the current Software linetype, changed all the Linetype scale to 1 and then the Linetype to Software1. I also changed the LTSCALE to a value of 5 and now it looks like it matches your original look:

paullimapa_0-1709016391946.png

 

 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 14 of 18

Kent1Cooper
Consultant
Consultant

The SOFTWARE linetype definition in that posted modified acad.lin file is exactly the same as AutoCAD's FENCELINE1 definition -- same shape, same file, same numbers.  If other AutoCAD linetypes involving shapes work, then the ltypeshp.shx file must be available, and it should work.  If the file is missing, then ZIGZAG and TRACKS and so on should also not work.

 

But assuming the file is found, is there some reason not to just use FENCELINE1 instead, since it's identical?

Kent Cooper, AIA
0 Likes
Message 15 of 18

Michelle.TorresH7L9G
Participant
Participant
no... we should follow the software linetype as it is in the P&ID legend that needs to follow. 😞
0 Likes
Message 16 of 18

pendean
Community Legend
Community Legend

@Michelle.TorresH7L9G wrote:
no... we should follow the software linetype as it is in the P&ID legend that needs to follow. 😞

Sadly, this is not the forum for the now defunct P&ID variant of AutoCAD, so you're just getting feedback here from fellow AutoCAD end users that do not use that source software.

 

If the P&ID need is critical, you'll have to find folks that used to use it to ask for guidance: your post's title is not going to attract any that might drift in here. You might get more help in the P3D forum that is supposedly where Autodesk pushed all the P&ID users towards https://forums.autodesk.com/t5/autocad-plant-3d/ct-p/2046 

0 Likes
Message 17 of 18

Michelle.TorresH7L9G
Participant
Participant
it works! thank you so much for your help... i really appreciate your effort... God bless you!
0 Likes
Message 18 of 18

paullimapa
Mentor
Mentor

You’re welcome and glad to have helped…cheers!!!


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos