AutoCAD 2013/2014/2015

Reply
Distinguished Mentor
darawork
Posts: 739
Registered: ‎12-04-2003
Message 1 of 11 (166 Views)

List number of faces...

166 Views, 10 Replies
06-12-2013 08:25 AM

Is there a command in AutoCAD 2014 to list the number of faces in a model?

I can't seem to find one.

 

Thanks.

System information: Win7 x64 / 3DSMax Design 2015 / AutoCad 2015 / Xeon E31225 quadcore @3.10Ghz / nVidia GTX760 2GB (337.88 Driver) / 24Gb Ram / Corsair 650w
*Expert Elite*
JDMather
Posts: 26,165
Registered: ‎04-20-2006
Message 2 of 11 (150 Views)

Re: List number of faces...

06-12-2013 09:24 AM in reply to: darawork

If you Explode the solid into surfaces and then run surfsculpt - window select and the command line tells you how many surfaces are selected.

 

Hmm, for some reason I am getting +1.

Anyway, I'll leave it to you to figure out.

 

Well, ran my test again on sphere, cylinder and box (created from polyline profile).
It was counting the generating 2D profile accounting for the +1.

Please mark this response as "Accept as Solution" if it answers your question.
-----------------------------------------------------------------------------------------
Autodesk Inventor 2014 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional
Inventor Professional 2015 64-bit
http://www.autodesk.com/edcommunity
http://home.pct.edu/~jmather/content/DSG322/inventor_surface_tutorials.htm
*Expert Elite*
Alfred.NESWADBA
Posts: 8,866
Registered: ‎06-29-2007
Message 3 of 11 (144 Views)

Re: List number of faces...

06-12-2013 09:30 AM in reply to: darawork

Hi,

 

>> list the number of faces in a model

what do you need that for?

Another question is then: how many faces do you expect that a SPHERE has (or should have)?

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
*Expert Elite*
JDMather
Posts: 26,165
Registered: ‎04-20-2006
Message 4 of 11 (137 Views)

Re: List number of faces...

06-12-2013 09:39 AM in reply to: Alfred.NESWADBA

alfred.neswadba wrote:

Another question is then: how many faces do you expect that a SPHERE has (or should have)?

 

- alfred -


A sphere is one face.

Please mark this response as "Accept as Solution" if it answers your question.
-----------------------------------------------------------------------------------------
Autodesk Inventor 2014 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional
Inventor Professional 2015 64-bit
http://www.autodesk.com/edcommunity
http://home.pct.edu/~jmather/content/DSG322/inventor_surface_tutorials.htm
*Expert Elite*
Alfred.NESWADBA
Posts: 8,866
Registered: ‎06-29-2007
Message 5 of 11 (130 Views)

Re: List number of faces...

06-12-2013 09:54 AM in reply to: JDMather

Hi,

 

>> A sphere is one face.

I agree with A sphere is one "surface", but thinking of 3D-Faces ....? :smileywink:

That's why I asked whatfor that value is important, e.g. for rendering only 3D-Faces is a value for estimating rendertime.

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Distinguished Mentor
darawork
Posts: 739
Registered: ‎12-04-2003
Message 6 of 11 (122 Views)

Re: List number of faces...

06-12-2013 10:37 AM in reply to: JDMather

That would have been my answer too. The lines we see are not faces but merely guides of a procedurally created entity. One (sur)face, one normal. I suppose.

System information: Win7 x64 / 3DSMax Design 2015 / AutoCad 2015 / Xeon E31225 quadcore @3.10Ghz / nVidia GTX760 2GB (337.88 Driver) / 24Gb Ram / Corsair 650w
Distinguished Mentor
darawork
Posts: 739
Registered: ‎12-04-2003
Message 7 of 11 (120 Views)

Re: List number of faces...

06-12-2013 10:41 AM in reply to: Alfred.NESWADBA

The reason I am trying to figure out face count is to try and understand why one complex model I have created in 2013 is of a smaller file size than a medium model I created in 2014.

 

I thought if I could determine the amount of faces it might explain the difference in file size?

 

They both contain about the same number of layers, no raster items, no blocks, audited and purged.

Both drawings are of buildings constructed with solids.

 

(Although this thread might tie in with my other recent post today, 'Solid History' should not be the difference between a 2013 file size and a 2014 file size.... seen as the 'Solid History' function has been in AutoCad since 2007. Unless it is suddenly turned on by default, where it might not have been before? )

 

 

System information: Win7 x64 / 3DSMax Design 2015 / AutoCad 2015 / Xeon E31225 quadcore @3.10Ghz / nVidia GTX760 2GB (337.88 Driver) / 24Gb Ram / Corsair 650w
*Expert Elite*
Alfred.NESWADBA
Posts: 8,866
Registered: ‎06-29-2007
Message 8 of 11 (102 Views)

Re: List number of faces...

06-12-2013 11:14 AM in reply to: darawork

Hi,

 

the surface count does not say anything about the complexity of the surface and so that can be one of the reasons for a difference.

 

>> [...] 'Solid History' should not be the difference between a 2013 file size and a 2014 file size

Well, not sure about that because Autodesk changed the default value at one of the previous releases (currently I don't know which release changed the default). But you can verify by opening the drawing in both releases, run command _BREP, save the drawing and do that for each release. That cleans the history of solids anyway, ready then to compare the filesize.

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
*Expert Elite*
nestly2
Posts: 1,278
Registered: ‎04-22-2013
Message 9 of 11 (102 Views)

Re: List number of faces...

06-12-2013 11:16 AM in reply to: darawork

darawork wrote:
...Unless it is suddenly turned on by default, where it might not have been before? )

 

 


 

SOLIDHIST was turned on by default in 2011, but is "OFF" by default since 2012, however since this a drawing based variable there's no telling when or where the setting was changed,... perhaps a carryover from the drawing template?

Distinguished Mentor
darawork
Posts: 739
Registered: ‎12-04-2003
Message 10 of 11 (86 Views)

Re: List number of faces...

06-12-2013 12:21 PM in reply to: Alfred.NESWADBA

I usually model once off, not much editing needed afterwards... at that level anyway.  I have a nice 3rd party lisp for stretching solids (Multi Solid power toys, should be snapped up as an Express tool by AD imo), so I never really edited 'individual' extrusions. It was mainly a crossing window of selections. I then library these models for use in other projects. I'll have to go back and check that _var on each model. Or get a script to check for it, ha. Nice archiving tip nonetheless.

System information: Win7 x64 / 3DSMax Design 2015 / AutoCad 2015 / Xeon E31225 quadcore @3.10Ghz / nVidia GTX760 2GB (337.88 Driver) / 24Gb Ram / Corsair 650w

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community




Connect with AutoCAD

Twitter

Facebook

Blogs

Pinterest

Youtube