wilfried_loewe
10-08-2007, 11:42 AM
Hi to all,
I want to use a PostApplyListener postApply(WMApplyEvent event) in Class DMDrawing2D to get the associated Model Elid of the current 2D-Document. It is no Problem to get the boolean flag by:
DMDrawing2D doc = (DMDrawing2D) (event.getSource());
if (doc.hasAssociatedModel()) {
????????
}
Is there a way to get the Elid of Model, if hasAssociatedModel() is true ????
I want to use a PostApplyListener postApply(WMApplyEvent event) in Class DMDrawing2D to get the associated Model Elid of the current 2D-Document. It is no Problem to get the boolean flag by:
DMDrawing2D doc = (DMDrawing2D) (event.getSource());
if (doc.hasAssociatedModel()) {
????????
}
Is there a way to get the Elid of Model, if hasAssociatedModel() is true ????