#1
|
|||
|
|||
from model to masterdata
Hi all ,
is there a way from a model Model m = (Model) getUserObject(); to find the masterdata associated whit it? Thanks a lot, Nadia |
#2
|
|||
|
|||
Re: from model to masterdata
ok , I solved my problem. in this way:
.... Model m = (Model) getUserObject(); Part p= m.getCurrentPart(); String classType = p.getDBTable(); .... now, coul'd someone help me to understand some methods of Model (java)class? 1) method isWorkPlane(): the API say "Indicates if this m.odel's ObjType is of type workplane". what is a workplane? 2) method isWorkPlaneSet(): the API say: "Indicates if this model's ObjType is of type workplane set". what is the type type workplane set? 3) hasValidBomIndicator(): the API say "Returns whether this model has a valid BOM Indicator set." what does it mean? what is the BOM Indicator? thanks all , Nadia |
#3
|
|||
|
|||
Re: from model to masterdata
Hi Nadia,
Presumably you are programming tools for OneSpace but are not a user of the software? I'm a user but don't know anything about programming for it! Workplanes are just that - a plane in space that the user "works" on - where he draws 2D geometry that can then be used to create or modify 3D geometry. A Workplane set is literally that - a set (group) of workplanes. My guess from the syntax is that the functions you listed return a boolean answer (yes/no, true/false, 1/0) as to whether or not the object is a workplane or not, or is a workplane set or not. I'm not sure what the BOM Indicator is all about. Other than it has something to do with detecting a valid Bill of Materials. Steve |
#4
|
|||
|
|||
Re: from model to masterdata
thanks for your help steve !!!
by, Nadia |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|