AutoCAD Map 3D General Discussion

AutoCAD Map 3D General Discussion

Reply
Distinguished Contributor
108 Posts
2 Kudos
Registered: ‎04-27-2012
Post 1 of 4
Accepted Solution

Hatch lines weight

449 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
491 Posts
35 Kudos
Registered: ‎03-24-2004
Post 2 of 4

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
108 Posts
2 Kudos
Registered: ‎04-27-2012
Post 3 of 4

Re: Hatch lines weight

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

Data connect. Shapefile, layer or sdf.

Mentor
182 Posts
28 Kudos
Registered: ‎12-08-2011
Post 4 of 4

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
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!