Jump to content

Custom COMPLEX LINETYPE help!!!


Recommended Posts

I'm trying to make a linetype for plugmold which is like this

 

_____ // _____ // _____ // _____ // _____

 

And this is the code I've entered

 

*PLUGMOLD,DASH 2SLANT DASH _____ // _____ // _____ // _____ // _____.

A,0.5,-.5,[sLANT1,]typshp.shx,x=-.2,s=.2],-.5,[sLANT1,]typshp.shx,x=-.2,s=.2],-.5

 

Please advice on whats wrong cos I'm not able to load it!

 

Thanks

Link to comment
Share on other sites

Complex Linetype.PNG

 

Did this using Express Tool commands Make Shape and Make Linetype.

 

The linetype definition file looks like this:

 

*PLUGMOLD2, short line followed by two slanted lines

A,.426613,[sLANT1,C:\Users\ReMark\Desktop\SLANT1,s=1],.073387,-.376613

 

How did you come up with the inputs on the second line?

Edited by ReMark
Link to comment
Share on other sites

Maybe something very simple using text:

*PLUGMOLD3,Plugmold 3 ___//___//___//___//___// ___
A,.75,-.25,["//",STANDARD,S=.2,R=0.0,X=-0.15,Y=0.0],-.2

Link to comment
Share on other sites

I'm trying to make a linetype for plugmold which is like this

 

_____ // _____ // _____ // _____ // _____

 

And this is the code I've entered

 

*PLUGMOLD,DASH 2SLANT DASH _____ // _____ // _____ // _____ // _____.

A,0.5,-.5,[sLANT1,]typshp.shx,x=-.2,s=.2],-.5,[sLANT1,]typshp.shx,x=-.2,s=.2],-.5

 

Please advice on whats wrong cos I'm not able to load it!

 

Thanks

Maybe is just some typo..

*PLUGMOLD,DASH 2SLANT DASH _____ // _____ // _____ // _____ // _____.

A,0.5,-.5,[sLANT1,ltypshp.shx,x=-.2,s=.2],-.5,[sLANT1,ltypshp.shx,x=-.2,s=.2],-.5

Link to comment
Share on other sites

I don't think it is the typo shown above that is causing the problem. As a matter of fact I'm pretty darn sure it isn't.

Link to comment
Share on other sites

AutoCAD Help

The following syntax defines a shape as part of a complex linetype.

[shapename,shapefilename,scale,rotate,xoffset,yoffset]

Now look at this: [sLANT1,]typshp.shx,x=-.2,s=.2]

Shape definition is [sLANT1,] which is not going to work.

The rest of syntax typshp.shx,x=-.2,s=.2] has no meaning.

So, if the file name is ]typshp.shx it must be renamed.

Maybe will not solve all the problems, but that bracket is definitely in the wrong place.

Link to comment
Share on other sites

The shape SLANT1 is not standard in my version of ltypeshp.shx, so perhaps the shape definition of SLANT1 should be looked at. :unsure:

 

If the OP's ltypeshp.shx has been customised, then that file would have to be sent with the drawing file for the line type to be formed properly on another computer.

Link to comment
Share on other sites

I think the solution as put forth by Blackfish would be the easiest / quickest followed by mine suggesting the use of the Make Linetype command from Express Tools.

Link to comment
Share on other sites

The only risk with my solution is, if someone has a something strange set as a 'STANDARD' text style, but who does it?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...