AutoCAD Civil 3D General Discussion

AutoCAD Civil 3D General Discussion

Reply
*Expert Elite*
AllenJessup
Posts: 6,177
Registered: ‎05-21-2003
Message 1 of 13 (247 Views)
Accepted Solution

Count Styles

247 Views, 12 Replies
11-06-2011 01:39 PM

Is there a way to determine the number of styles in a drawing?

 

Allen

C3D 2010

Dell M6500, Win 7 Pro, 8GB RAM

Hi,

 

AFAIK not with 2010 (without dev).

With Civil3D2012 you have a command _PURGESTYLES that shows a number (of purgeable) styles plus copy&paste of the list is supported. Maybe this is a help.

 

- alfred -

*Expert Elite*
Alfred.NESWADBA
Posts: 9,583
Registered: ‎06-29-2007
Message 2 of 13 (246 Views)

Re: Count Styles

11-06-2011 01:54 PM in reply to: AllenJessup

Hi,

 

AFAIK not with 2010 (without dev).

With Civil3D2012 you have a command _PURGESTYLES that shows a number (of purgeable) styles plus copy&paste of the list is supported. Maybe this is a help.

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
*Expert Elite*
AllenJessup
Posts: 6,177
Registered: ‎05-21-2003
Message 3 of 13 (243 Views)

Re: Count Styles

11-06-2011 02:18 PM in reply to: Alfred.NESWADBA

Thanks. I'll give it a try.

 

Allen

*Expert Elite*
AllenJessup
Posts: 6,177
Registered: ‎05-21-2003
Message 4 of 13 (241 Views)

Re: Count Styles

11-06-2011 02:20 PM in reply to: Alfred.NESWADBA

_PURGESTYLES gives me 552 styles. So I'll go with that  for now. Thanks.

 

Allen

*Expert Elite*
AllenJessup
Posts: 6,177
Registered: ‎05-21-2003
Message 5 of 13 (230 Views)

Re: Count Styles

11-06-2011 02:46 PM in reply to: Alfred.NESWADBA

It looks like there are about 70 unpurgable standard styles that won't show in that list. But it's a good start.

 

Allen

*Expert Elite*
Alfred.NESWADBA
Posts: 9,583
Registered: ‎06-29-2007
Message 6 of 13 (228 Views)

Re: Count Styles

11-06-2011 02:50 PM in reply to: AllenJessup

Hi Allen,

 

sorry, I have never did a check of this number. And as the count is for purgeable styles then the "Standard"-styles will not be counted within that group.

I find it interesting how you got the number 70 that fast - without having an option to count anything in another way yet :smileywink:

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
*Expert Elite*
AllenJessup
Posts: 6,177
Registered: ‎05-21-2003
Message 7 of 13 (196 Views)

Re: Count Styles

11-07-2011 05:04 AM in reply to: Alfred.NESWADBA

Hello Alfred,

 

I used the old manual guesstimate method. I started a drawing with no template then used the purgestyles command. After that I'm left with a Standard style for each item that uses a style. I expanded each item in the prospector and counted how many times I saw Styles. I got just under 70 and rounded up.

 

Thanks for the help!

Allen

*Expert Elite*
mathewk
Posts: 2,792
Registered: ‎07-09-2003
Message 8 of 13 (186 Views)

Re: Count Styles

11-07-2011 06:35 AM in reply to: AllenJessup
Curious, why would you need to know the total number of styles in a drawing.
Matt Kolberg
Cansel - Autodesk Division
http://www.cansel.ca/
*Expert Elite*
AllenJessup
Posts: 6,177
Registered: ‎05-21-2003
Message 9 of 13 (179 Views)

Re: Count Styles

11-07-2011 07:26 AM in reply to: mathewk

I need to give an estimate of the time to revise them.

 

Allen

Active Member
MatthewHeal83
Posts: 8
Registered: ‎10-21-2011
Message 10 of 13 (123 Views)

Re: Count Styles

09-06-2013 09:21 AM in reply to: AllenJessup

The purge command only gives you the unused styles, there are styles embedded in the command settings that are considered "used" styles and will not show up in that list that represent a significant percentage of the total styles.  If you have a fully customized template you could be looking at missing out on several hundred styles.

 

I, too, am looking for a way to count the styles as part of some purge testing I'm doing.

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.