View Full Version : Wiremesh & Insulation Custom Linetypes
sovby254640
2012-06-10, 02:37 PM
I would like to create a wiremesh linetype as well as an insulation linetype that i can make 3-1/2" wide for a 2x4 stud wall, 5-1/2" for a 2x6 stud wall, etc. The mesh would have a length of 5 units, a gap of .5, & then it would have either an x or two lines that cross in an x. The first x would be 6 units away from the next x. As far as the insulation goes, my version of autocad comes with a linetype called batting which i assume i could manipulate to get what i want if somebody could somebody please point me in the right direction. I'm sure it is probably pretty simple code to write but i am not sure how to start. Here is the code for the batting linetype. I tried to upload my drawing for the wiremesh & the insulation but i am having trouble doing so. I am not sure why, the drawing is only 120 kb.
*BATTING,Batting SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
A,.0001,-.1,[BAT,ltypeshp.shx,x=-.1,s=.1],-.2,[BAT,ltypeshp.shx,r=180,x=.1,s=.1],-.1
Tom Beauford
2012-06-11, 12:21 PM
Here's the X's, not sure what you're looking for in the mesh. Maybe if you drew and attached it to a reply.
A,2.25,-.25,[TRACK1,ltypeshp,r=135,s=1],0,[TRACK1,ltypeshp,r=45,s=1],-.25,2.25
sovby254640
2012-06-13, 06:36 AM
I cant seem to add any attachments. I am not sure why. I guess i need to contact the admin & see if they can figure something out. The linetype that i would like to create for the wire mesh would be a line 5 units long with a gap of .5 units, an x, then another gap, then another line. It would look similar to this - x - x -x - x -. As far as the insulation goes, i would like a linetype that i could use for wall sections & details (2x4, 2x6, etc). Right now i use a polyline that i copy but i would like a linetype so i could use it in a dynamic block. Autocad comes with an insulation linetype so i guess i could use that & change the linetype scale.
Tom Beauford
2012-06-13, 11:18 AM
I added a description line to the one I posted yesterday
*WIREMESH
A,2.25,-.25,[TRACK1,ltypeshp,r=135,s=1],0,[TRACK1,ltypeshp,r=45,s=1],-.25,2.25
It should be what you asked for with LTSCALE set to 1.
sovby254640
2012-06-13, 09:13 PM
It's still coming in too big. I'm posting a sample drawing for you to look at. I cant seem to post it from my computer at home for some reason so im going to try on another computer. I put some dimensions for representation but they wont be part of the linetype. I used text for the "x" but it doesnt really have to be if its easier to do another way.
Tom Beauford
2012-06-14, 01:28 PM
You need to first enter LTSCALE at the command line and change it to 1. I modified the linetype to the dimensions in your attached drawing.
*WIREMESH
A,2.5,-.5,[TRACK1,ltypeshp,r=135,s=.4],0,[TRACK1,ltypeshp,r=45,s=.4],-.5,2.5
sovby254640
2012-06-14, 02:59 PM
Works great. That's exactly what i was after. Thanks alot.
nod684
2012-08-09, 07:44 AM
I would like to create a wiremesh linetype as well as an insulation linetype that i can make 3-1/2" wide for a 2x4 stud wall, 5-1/2" for a 2x6 stud wall, etc. The mesh would have a length of 5 units, a gap of .5, & then it would have either an x or two lines that cross in an x. The first x would be 6 units away from the next x. As far as the insulation goes, my version of autocad comes with a linetype called batting which i assume i could manipulate to get what i want if somebody could somebody please point me in the right direction. I'm sure it is probably pretty simple code to write but i am not sure how to start. Here is the code for the batting linetype. I tried to upload my drawing for the wiremesh & the insulation but i am having trouble doing so. I am not sure why, the drawing is only 120 kb.
*BATTING,Batting SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
A,.0001,-.1,[BAT,ltypeshp.shx,x=-.1,s=.1],-.2,[BAT,ltypeshp.shx,r=180,x=.1,s=.1],-.1
for Batting i normally dont use Linetype because it is affected by LTSCALE
i use this LISP instead...so far its the best lisp that i found for Insulation Linetype
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.