CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 08-01-2007, 09:40 AM
bobwing bobwing is offline
Registered User
 
Join Date: Oct 2002
Location: Southeastern Mass.
Posts: 45
Help on Linking Bom Cells to MM Masterdata

I would like to create a BOM in Annotation that can utilize Masterdata from ModelManager.

I was successful in adding the Masterdata Attributes option located in the DB Attributes Tab of the structure browser. In here is all the data I would like to see in a BOM.

I cant figure out how to create the text references I need from this masterdata that I can then use in the BOM.

We are trying to do this without using the BOM manager license.

Thanks.
__________________

Bob Wing
CAD Manager
Reply With Quote
  #2  
Old 08-15-2007, 10:14 AM
bobwing bobwing is offline
Registered User
 
Join Date: Oct 2002
Location: Southeastern Mass.
Posts: 45
Question Re: Help on Linking Bom Cells to MM Masterdata

I have been succesful in getting similar results as compared to the following example taken from the IK help:

(sd-inq-db-attribute-values "Material" my-part)
=> (:MODEL_MAT_ID "Steel" :HEAT_TREAT "H32" :FINISH "polished")


Does anyone have any ideas on how I can convert these attributes to something I can populate a BOM with?

Thanks.
__________________

Bob Wing
CAD Manager
Reply With Quote
  #3  
Old 08-16-2007, 01:39 PM
Wolfgang's Avatar
Wolfgang Wolfgang is offline
Registered User
 
Join Date: Nov 2002
Location: ... near Sindelfingen near Stuttgart, Germany
Posts: 754
Re: Help on Linking Bom Cells to MM Masterdata

you need to register your new attribute to the list of available text references. Then you can use it to adapt your BOM layout.

but first of all: Material is already part of the BFG text references, isn' it?

PHP Code:
(defun docu-bom-attr-db-my-material (selitem)
  (
let ((mat-attr (oli::sd-inq-db-attribute-values "Material" selitem)))
    (
oli::sd-string-trim
     
(format nil "~A  finish: ~A ~A"
       
(getf mat-attr :MODEL_MAT_ID "")
       (
getf mat-attr :FINISH "")
       (
getf mat-attr :HEAT_TREAT "")
       ))
  )    
)

;; and 
register:

(
docu-register-bom-attr :attr-type      "MY_MAT"
                        
:attr-title     "Material Spec"
                        
:attr-display   t
                        
:attr-value-fnc #'docu-bom-attr-db-my-material) 
HTH

PS: I wasn't able to test it!
Reply With Quote
  #4  
Old 01-26-2010, 02:28 AM
ronald1977 ronald1977 is offline
Registered User
 
Join Date: Jan 2010
Location: Netherlands
Posts: 2
Re: Help on Linking Bom Cells to MM Masterdata

hello BOBWING,

Did you succeed in what you wanted? I am very curious and would also like to get the masterdata info into a BOM (or writetree).


Kind regards,
Ronald
Reply With Quote
  #5  
Old 01-27-2010, 10:24 AM
bobwing bobwing is offline
Registered User
 
Join Date: Oct 2002
Location: Southeastern Mass.
Posts: 45
Re: Help on Linking Bom Cells to MM Masterdata

If I remember correctly, without the BOM add-on for Model Manager this was not possible unless you know some lisp (and I don't). and even then I'm not sure if its doable.
__________________

Bob Wing
CAD Manager
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 01:06 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.