|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
#1
|
||||
|
||||
How can we fill in Masterdata information when saving models to ModelManager?
When saving models from Modeling to ModelManager, in the ModelManager's save dialog, we would like to be able to fill in Masterdata fields at that time. For instance adding the material to the Masterdata, since we have Masterdata Name set to use Model Name.
When saving models, we are setup so the Masterdata Name and description are generated off the model name and description, it seems there must be reasonably easy way to also set the material at that time as well. I'm pretty sure the answer lies in pseudo-attributes, but I'm not yet sure how to link the Model pseudo to the Masterdata actual in the save dialog. |
#2
|
|||
|
|||
Re: How can we fill in Masterdata information when saving models to ModelManager?
Thinking pseudo drives you in the right direction.
In your Model XML class definition let define an attribute related to one of your masterdata attribute and qualified with IsPartAttribute true. Let have a look to the example below: ... <Class extends="DMModel, DMReleaseProcess"> <Name catalog="awm_stda" msg_num="258">MODEL_3D</Name> ... <Attribute>BrdCode <DisplayName catalog="acme" msg_num="1010">Masterdata Code</DisplayName> <Searchable>false</Searchable> <TargetAttributeName>BRDCODE</TargetAttributeName> <IsPartAttribute>true</IsPartAttribute> </Attribute> ... |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|