Musisback Posted May 19, 2011 Share Posted May 19, 2011 I would like to get the source layer of a layer link from script. Is it possible? How? Thanks, Quote Link to comment
Musisback Posted May 23, 2011 Author Share Posted May 23, 2011 No one has a idea? Quote Link to comment
PeterT Posted May 23, 2011 Share Posted May 23, 2011 Musisback, You can use the ObjectVariableString call with the handle to the layer link object and an index value of 160: sourcelayerstring := GetObjectVariableString(layerlinkhandle,160); This function returns your source layer name as a string variable. The index value is listed in the VectorScript Appendix under Layer Link. Quote Link to comment
Musisback Posted May 24, 2011 Author Share Posted May 24, 2011 Thanks, I have another probleme now though. I cannot change the class of a layer link with the procedure setclass(LayerlinkHandle, classname). weird.... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.