AutoCAD Map 3D General Discussion

AutoCAD Map 3D General Discussion

Reply
Distinguished Contributor
lholland
Posts: 150
Registered: ‎08-15-2007
Message 1 of 8 (365 Views)

Saving Feature Styles

365 Views, 7 Replies
01-07-2010 12:04 PM
I brought in a SHP and have pretty fancy style with a label. How on earth do you save these? The style library does not work for SHP files! HELP!!! Map 2009.

Thanks in advance!
*Murph
Message 2 of 8 (365 Views)

Re: Saving Feature Styles

01-07-2010 01:51 PM in reply to: lholland
You have to save the connected data to a .layer file. There is no way, at
present, to save a "style" to be used for another feature layer.

--

Murph
http://map3d.wordpress.com/


"lholland" wrote in message news:6314375@discussion.autodesk.com...
I brought in a SHP and have pretty fancy style with a label. How on earth
do you save these? The style library does not work for SHP files! HELP!!!
Map 2009.

Thanks in advance!
Distinguished Contributor
lholland
Posts: 150
Registered: ‎08-15-2007
Message 3 of 8 (365 Views)

Re: Saving Feature Styles

01-07-2010 01:54 PM in reply to: lholland
It seems to me that the layer file assumes you are connected to the same data. Am I correct with this?
I want to save the style to use in a similar (but different starting data) project.
Valued Mentor
jackie.ng
Posts: 279
Registered: ‎10-06-2008
Message 4 of 8 (365 Views)

Re: Saving Feature Styles

01-07-2010 02:37 PM in reply to: lholland
The .layer file has 2 sections. One is the layer definition (identical to MapGuide), the other is the feature source (also somewhat identical to MapGuide).

The feature source section describes the connection settings (in this case, to your SHP file). So all you have to do is just change the file/directory path to point to your new SHP file(s). This is assuming the new SHP is structurally identical to the existing SHP file.

Because if you have style rules on properties that don't exist in the new SHP file, there will be problems.

- Jackie
*Murph
Message 5 of 8 (365 Views)

Re: Saving Feature Styles

01-07-2010 03:59 PM in reply to: lholland
Other than what Jackie wrote there is no way to apply a style you set up in
one feature connection to another feature connection. The layer files are
the key to enhanced stylization and "right now" there is no UI to create and
save styles.

--

Murph
http://map3d.wordpress.com/


"lholland" wrote in message news:6314520@discussion.autodesk.com...
It seems to me that the layer file assumes you are connected to the same
data. Am I correct with this?
I want to save the style to use in a similar (but different starting data)
project.
Distinguished Contributor
lholland
Posts: 150
Registered: ‎08-15-2007
Message 6 of 8 (365 Views)

Re: Saving Feature Styles

01-07-2010 04:22 PM in reply to: lholland
Thanks for the info, I'm getting warmer...which is good cuz its -11F (not counting windchill) where I am!

I'm wondering where the best way to edit the *.layer files is. Just crack'er open in notepad, then?
*Murph
Message 7 of 8 (365 Views)

Re: Saving Feature Styles

01-07-2010 04:33 PM in reply to: lholland
Notepad is what I use, just watch any of those xml editor they can corrupt
the file. Then keep an eye on my blog in a few days it may heat you up
faster than a magpie on a hot stick.

--

Murph
http://map3d.wordpress.com/


"lholland" wrote in message news:6314601@discussion.autodesk.com...
Thanks for the info, I'm getting warmer...which is good cuz its -11F (not
counting windchill) where I am!

I'm wondering where the best way to edit the *.layer files is. Just
crack'er open in notepad, then?
Member
harryplotter
Posts: 3
Registered: ‎04-11-2012
Message 8 of 8 (182 Views)

Re: Saving Feature Styles

04-11-2012 01:37 PM in reply to: *Murph

No news on saving feature styles ? I'm using map 2012, but i've not finda a way to apply the same feature style from a feature to another. Is'n there a command like matchprop ??

 

this il very very boring !

 

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.