Get Text from Layout DXL?

Is there a way to get the Text from an Layout DXL? I just want to ask if the Layout DXL prints s.th. out in a Loop over all objects...

The column title is "Integrity Check" but trying to access object."Integrity Check" fails.

Module modulRML=edit("/NDS/40 Risk Management/RML-Risk Measure List",true);
Object objekt;
for objekt in modulRML do
{
print objekt."Integrity Check" "\n"; <<<- THIS FAILS

}
Bjoern_Karpenstein - Thu Aug 23 13:05:41 EDT 2012

Re: Get Text from Layout DXL?
llandale - Thu Aug 23 14:11:01 EDT 2012

Layouts are in the View not part of the stored Object information.

Something like this.

Column col
string DxlCode = ""
bool   Found = false
for col in (current Module) do
{  if (title(col) == "Integrity Check")
   {  DxlCode = dxl(col)
      Found = true
      break
   }
}
if (!Found) then no such Column displayed
elseif (null DxlCode) then Column is not Layout
else DxlCode is what we want.


-Louie

Re: Get Text from Layout DXL?
Bjoern_Karpenstein - Sun Aug 26 06:28:31 EDT 2012

llandale - Thu Aug 23 14:11:01 EDT 2012

Layouts are in the View not part of the stored Object information.

Something like this.

Column col
string DxlCode = ""
bool   Found = false
for col in (current Module) do
{  if (title(col) == "Integrity Check")
   {  DxlCode = dxl(col)
      Found = true
      break
   }
}
if (!Found) then no such Column displayed
elseif (null DxlCode) then Column is not Layout
else DxlCode is what we want.


-Louie

Thank you very much

Re: Get Text from Layout DXL?
llandale - Sun Aug 26 15:07:44 EDT 2012

Bjoern_Karpenstein - Sun Aug 26 06:28:31 EDT 2012
Thank you very much

Wait. You are asking to get the results; what you SEE in the column. Ooops.

for col in (current Module) do
{  if this title is the one then  print "Text: " (text(col, (current Object))) "\n"
}


-Louie