CoCreate User Forum  

Go Back   CoCreate User Forum > Applications > Data Management

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 11-12-2013, 04:11 AM
tom kirkman's Avatar
tom kirkman tom kirkman is offline
Registered User
 
Join Date: Oct 2002
Location: Perrysburg, Ohio
Posts: 397
Empty Masterdata

Is there a way to search for masterdata that is empty. But that I mean it has no files attached to it? For example if a model is deleted from the database, it leaves masterdata behind.

Thanks
__________________
Tom Kirkman

Creo Elements/Direct 20.1
Dell Precision 3581
https://www.o-i.com
Reply With Quote
  #2  
Old 11-14-2013, 08:22 AM
ludw ludw is offline
Registered User
 
Join Date: Dec 2006
Location: France
Posts: 86
Re: Empty Masterdata

There is not a direct search capability based on such a relation data, but you may consider the following idea:
- Create a pseudo attribute (let say HASMODEL) attached to any masterdata (DMMasterdata)
- Attach to this pseudo attribute a business object that set this pseudo attribute value true only if at least one member of getChildren() is an instanceof DMModel3D.
- from Model Manager you can then see, locate or sort masterdata on this HASMODEL pseudo attribute true or false.

The same may run for Drawings or anything else.
Beware that could affect performances (additional work: additional cost)

Let me know if you need java code.

Last edited by ludw; 11-24-2013 at 11:34 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 08:37 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.