.NET

Reply
Active Contributor
|flyte|
Posts: 28
Registered: ‎07-13-2011
Message 1 of 5 (248 Views)

Detecting Space Junk in Models

248 Views, 4 Replies
10-16-2012 01:44 PM

Some of the models that I convert into NWDs (via Naviswork's automation API ) may contain left over artifacts that the designer left, often in outer space, which causes the constructed NWD (and thus any other NWD that has appended the erroneous one) to have very large extents.


What would be an approach in detecting such artifacts in the DWG via the API? I'd like to construct a .NET app that would run to scan the models for such space junk before being processed by Navisworks?

 

 

Active Contributor
|flyte|
Posts: 28
Registered: ‎07-13-2011
Message 2 of 5 (207 Views)

Re: Detecting Space Junk in Models

10-18-2012 09:49 AM in reply to: |flyte|

No one has a suggestion or an approach to take?

Valued Mentor
KerryBrown
Posts: 269
Registered: ‎11-29-2008
Message 3 of 5 (190 Views)

Re: Detecting Space Junk in Models

10-19-2012 12:30 AM in reply to: |flyte|

 

I think it would be VERY difficult to automate satisfactorily.

 

How would you set the rules ???

 

Better to educate the operators so they DON'T leave any ' space junk'

 

Regards

 

//-------------------------------------------------------

class keyThumper<T> : Lazy<T>;      another  Swamper

Active Contributor
|flyte|
Posts: 28
Registered: ‎07-13-2011
Message 4 of 5 (130 Views)

Re: Detecting Space Junk in Models

11-08-2012 08:37 AM in reply to: KerryBrown

I agree it is best to educate the operator as you suggest, but the fact of the matter is that this does happen even when strict checking and standards are in place. I think this type of detection would be very useful.

 

And yes I agree that setting the "rules", would be difficult, but how about a simple sanity check for the model. But wouldn't there be a way to detect "well most of the items are in this vacinity/bounding box, but this item is wayyyy out there, so lets flag this as a potential model that needs correction".

 

Possible?

 

Valued Mentor
DiningPhilosopher
Posts: 370
Registered: ‎05-06-2012
Message 5 of 5 (122 Views)

Re: Detecting Space Junk in Models

11-08-2012 10:32 AM in reply to: |flyte|

I think how easy/difficult it would be, would depend on what the 'space junk' is.

 

What types of objects is it (usually or occasionally)?

 

Is the drawing supposed to contain a single 3DSOLID representing a single model, or multiple 3DSOLIDS representing one or more models? 

 

The logical approach would be to look for whatever you don't expect to be in the file, and then analyze that to try to come to some determination as to whether you can classify it as space junk or part of the model.

 

Of course, I've come across designs that could easily be mistaken for space junk, but that's another matter.

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.