![]() |
Telelogic DOORS (steve huntington) | ![]() |
Topic Title: Doors & Excel OLE Automation - Layout DXL info not available immediately Topic Summary: Issue with Excel OLE Automation Export of View with Layout DXL Columns Created On: 8-Jun-2007 09:28 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
It appears that a Layout DXL Column in a view that would fetch information from other module(s) is not being fully populated by the time when control is returned to the DXL script that loads the view.
Is there a way in DXL to check if a view with Layout DXL columns is fully loaded and complete ? If not, is there a way in DXL to put a sleep or pause waiting for the view to fully load ? Regards Simon Ajina |
|
![]() |
|
![]() |
|
Hi Simon,
AFAIK layout DXL is executed on request, so every time the display of module is actualized. I mean when the module window is drawn. So when you want want to export content of LDXL column you need to use one of the following functions: string richText(Column,Object) string richTextNoOle(Column,Object) string richTextWithOle(Column,Object) string text(Column,Object) to acces the evaluated value of LDXL script. I think the code will be evaluated on calling these functions. So you can control yourself, when you want to have it. Hope that helps you. Greetings Reik ------------------------- Evosoft GmbH for Siemens Industry Sector Berlin, Germany |
|
![]() |
|
![]() |
|
Many Thanks Reik for the quick feedback.
We are already using one of these interfaces. The one we use is text(column, object). It is not making the calculation for the first object in time so obviously the Layout DXL calculations are being done asynchronously and not making the calculation there and then. It is only the first object that requires a specific linked module to be loaded that encounters the problem. We are going to circumvent the problem by ensuring all linked modules are opened by the DXL code up front before we execute the DXL that exports the views with Layout DXL columns Regards Simon Ajina |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.