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... |
Re: Get Text from Layout DXL?
Layouts are in the View not part of the stored Object information.
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.
|
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.
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.
|
Re: Get Text from Layout DXL? Bjoern_Karpenstein - Sun Aug 26 06:28:31 EDT 2012 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"
}
|