AutoCAD Map 3D General Discussion

AutoCAD Map 3D General Discussion

Reply
Distinguished Contributor
Vasily_BC
Posts: 106
Registered: ‎04-27-2012
Message 1 of 4 (428 Views)
Accepted Solution

Hatch lines weight

428 Views, 3 Replies
01-30-2013 01:00 PM

Hi,

 

Is there a way to control weight of line for hatch?

I'm trying to make some style for number of areas and when I do hatch on a paper it's almost invisible because it's weight!

Tons of hatch patterns and they all useless!?

 

Thanks for any suggestions.

Hi Vasily,

 

for FDO features you can apply a lineweight for hatches but not using Display Manager's Style Editor. You need to add it manually to your .layer file.

 

For a simple hatch (Dash) you need to add the <LineWeight> tag:

...
<Name>DASH</Name>
<Graphics>
<Path>
<Geometry>M 0.0,0.0 h 0.125 M 0.125,0.125 h 0.125</Geometry>
<LineColor>%HATCHCOLOR%</LineColor>
<LineWeight>0.1</LineWeight>
...

save the layer file (context menu).

Open in XML/text Editor

Add <lineweight> tag for hatch definition

save

load layer into map again.

 

Good luck,

Rob

Valued Mentor
parkr4st
Posts: 474
Registered: ‎03-24-2004
Message 2 of 4 (424 Views)

Re: Hatch lines weight

01-30-2013 01:27 PM in reply to: Vasily_BC

Drawing objects or data connected; shp, sdf, etc?

 

lw is accessible in properties or in the layer properties manager.  There is a button to turn lw off and on on dispaly also.

 

FDO objects in styles

 

look in help search for plotting lineweights

 

dave

Distinguished Contributor
Vasily_BC
Posts: 106
Registered: ‎04-27-2012
Message 3 of 4 (416 Views)

Re: Hatch lines weight

01-30-2013 01:58 PM in reply to: parkr4st

Data connect. Shapefile, layer or sdf.

Mentor
Robert_Fritz
Posts: 175
Registered: ‎12-08-2011
Message 4 of 4 (405 Views)

Re: Hatch lines weight

01-30-2013 11:09 PM in reply to: Vasily_BC

Hi Vasily,

 

for FDO features you can apply a lineweight for hatches but not using Display Manager's Style Editor. You need to add it manually to your .layer file.

 

For a simple hatch (Dash) you need to add the <LineWeight> tag:

...
<Name>DASH</Name>
 <Graphics>
  <Path>
   <Geometry>M 0.0,0.0 h 0.125 M 0.125,0.125 h 0.125</Geometry>
    <LineColor>%HATCHCOLOR%</LineColor>
    <LineWeight>0.1</LineWeight>
...

save the layer file (context menu).

Open in XML/text Editor

Add <lineweight> tag for hatch definition

save

load layer into map again.

 

Good luck,

Rob

http://raumpatrouille3d.blogspot.ch/
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.