I have tried to readout the status of the variable "transparency" within the layer command.
There is no information on the dxf reference guide http://docs.autodesk.com/ACD/2011/ENU/filesDXF/WS1a9193826455f5ff18cb41610ec0a2e719-7a51.htm
and no examples in the online books of Autodesk.
So "i need some help from my friends" in this discussion group.
A clear question:
How can i readout the transparency from a xref within a layout?
Thanks for your time!!
Dolf
Hi,
Most probably, being quite recent, this new feature is not exposed through DXF and ActiveX. It is possible that you will have to use some heavier interface in order to do this, like .NET or ARX.
HTH
Thanks for your suggestion, but there must be a possibility to read this new variable with good old plain Autolisp.
It could be a new way to make plots!
:-)olf
Now I see what you are talking about and I think that your answer is here:
Regards
Thanks! That helps me a great deal.
Unfortunate there are no variables to read out.
The blob speaks of a default CETRANSPARENCY when creating a new object.
I would like to read out the transparency of a exciting layer with his personal transparency number.
I tried to read out the transparency of the layers of a xref.
Perhaps there is more in the treasure-house of Autodesk but they (and we) don't know it!!
Dolf
Most probably the transparency information is burried somewhere in a dictionary attached to the layer object. I don't have the time to dig for it right now, but maybe somebody else could help you with this, or maybe you want to do it yourself.
Regards
I have tried to dig in (deep!!) but have not find it.
Perhaps Autodesk uncloakes this secret in Acad 2012!
I wil build something myself.
Thank you.
Dolf
For layers, the transparency value is stored in the LayerTableRecord's xdata under the regapp "AcCmTransparency".