CoCreate User Forum  

Go Back   CoCreate User Forum > Applications > CoCreate Modeling

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 10-13-2011, 03:06 PM
gmatelich's Avatar
gmatelich gmatelich is offline
Registered User
 
Join Date: Oct 2002
Location: Bellevue, WA, USA
Posts: 396
Material as an attribute/property of a model?

I would like to add material as a property of a model in Modeling, and would like to be able to use this property in Annotator and pass it on the ModelManager where it would be updated to the Masterdata field.

Has anyone done any work like this that they can steer me in the right direction or even share some of their code? I understand Sheet Metal module uses materials, but we don't have that module; maybe I can take advantage of the functionality?

Currently in our WorkManager system we have material as a field for the Part record. Material has been assigned a link in Drafting/Anno drawing frames so the drawing shows the material. This work fine most of the time, but one of the biggest drawbacks is that when you change the material it changes it for all revisions of the attached drawings (and we unwittingly didn't set up revisions for Part in WM), so the only way you know what the material used to be is if the revisor did their job well and added it to the changenotes.

Moving forward I am trying to get us to more of a Model-is-the-Master paradigm, hence my question. Thus any change to the part would be a change to the model - flowing on through the system to the drawing, to MM, and out to our ERP system - Model is the master.

I would like to have a drop down material selection. Upon selecting material, the density of the part will be set, Rendering Base Color/Texture will be set, and the material selection will carry forward to ModelManager Materdata on save. I can also see the material being tied into Sheet Metal in case we ever got that module, and to FEA if we ever got that module.

Does anyone know if there is any reference to material properties in ASME Y14.41-2003?
Reply With Quote
  #2  
Old 10-14-2011, 02:28 AM
alexniccoli alexniccoli is offline
Registered User
 
Join Date: Jul 2003
Location: pescia
Posts: 206
Re: Material as an attribute/property of a model?

Quite easy with Model Manager.
You can ....:
1.Define a Masterdata Attribute called for example "MATERIAL" with a data dictionary of possible materials.
2.Define an attribute in modeling like
(oli::sd-define-db-attribute "ATTRIBUTES-MM"
:class-name "MATERDATA"
:attachment :contents
:keys
'("MATERIAL")
:allowed-owner-types art
:filing '(:db :sd-file)
:master :all
n-copy :maintain
n-merge :detach
n-split :copy
:command-name 'set_attribute
)
see sd-define-db-attribute options in integration kit docs.In this attribute
you can decide who is the master cad doc and/or masterdata.With :allowed-owner-types you can decide if is for part and/or assembly

Now you have in Modeling MATERIAL attribute with the same data dictionary as in model manager masterdata class,setting this attribute is passed to masterdata,not to drawing but in the titleblock you can have a reference to Masterdata Material Attribute.

Alessandro
__________________
alessandro niccoli
pescia(PT)-italy
Reply With Quote
  #3  
Old 10-14-2011, 10:09 AM
gmatelich's Avatar
gmatelich gmatelich is offline
Registered User
 
Join Date: Oct 2002
Location: Bellevue, WA, USA
Posts: 396
Re: Material as an attribute/property of a model?

That definitely gets me going in the right direction - Thanks!
Reply With Quote
  #4  
Old 10-17-2011, 05:30 AM
Michael Kahle's Avatar
Michael Kahle Michael Kahle is offline
Registered User
 
Join Date: Oct 2002
Posts: 121
Re: Material as an attribute/property of a model?

Maybe vote for enhancement request:
http://www.cocreateusers.org/forum/showthread.php?t=100


See quite old prototype for material handling -> material.lsp
Attached Files
File Type: lsp material.lsp (4.8 KB, 503 views)
__________________
Best regards,
Michael

--

Spam goes nospam@ptc.com and spam@postini.com

Last edited by Michael Kahle; 10-17-2011 at 05:50 AM.
Reply With Quote
  #5  
Old 10-17-2011, 07:04 AM
gmatelich's Avatar
gmatelich gmatelich is offline
Registered User
 
Join Date: Oct 2002
Location: Bellevue, WA, USA
Posts: 396
Re: Material as an attribute/property of a model?

Thanks for the link and the lisp. It looks like I'd already voted, I'd hoped to read the additional posts referenced in the enhancement request, but they appear broken.
Reply With Quote
  #6  
Old 10-17-2011, 05:06 PM
mrstero mrstero is offline
Registered User
 
Join Date: Dec 2009
Posts: 61
Re: Material as an attribute/property of a model?

all this LISP just to set up an attribute really isn't "easy" is it? this type of stuff isn't documented anywhere either, so other than this forum I don't know how someone would figure it out. Also, at least in USA, this knowledge may not even exist anymore with PTC cocreate consulting...
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 11:45 PM.



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.