CoCreate User Forum  

Go Back   CoCreate User Forum > Applications > Annotation

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 07-25-2017, 07:32 AM
Shaba's Avatar
Shaba Shaba is offline
Registered User
 
Join Date: Nov 2006
Location: Italy
Posts: 215
Edit and Fill BOM attribute / table

Hi all

There is a way to edit part attribute?
And to set new attribute?
Like, name, description, etc
I'm using OSD 19.0 without PDM (no MM and no WM)

Basic command on OSD are very poor!

Thanks a lot!
Reply With Quote
  #2  
Old 07-26-2017, 12:19 AM
Marten Marten is offline
Registered User
 
Join Date: Feb 2006
Location: Tilburg, The Netherlands
Posts: 139
Re: Edit and Fill BOM attribute / table

Hi Shaba,

We use PDM, but we don't use the Bill of Materials from PDM. So we had to build our own scan of the BOM and add our own columns to it. In order to do this I had to find out what OSD does by enabling ME10 trace in annotation (that way you can see all the ME10 code which is executed). With the build-in functions I could perform my own scan an build the table my self (but still keep the build-in functionality for placing pos-numbers etc.)

You might be able to change the data in the ME10 logical tables directly after scanning. But if it is just different data you want to show you might be able to just add a bom-attribute column based on a function. It is years ago when I wrote my BOM implementation, so I'm not sure this is possible, but in my code I register BOM-attributes:

(docu-register-bom-attr
:attr-type "DOCU_BOM_QUANTITY"
:attr-title "Amount"
:attr-display t
:attr-value-fnc nil
)

This also as the attribute: attr-value-fnc, which is a function which will be called when the data is required. This function could probably fetch, format and return the data you need in the format you want it. I build the BOM with all the attributes I want manually, so I don't have an example of this, but I think it should be possible.

Regards,

Marten
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 10:31 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.