Currently the API "c:wd_inplc_nd" function inserts a child portion of the PLC block with attributes added on the fly for "TAG_#, LOC, INST, ...". These attributes sometimes will end up on the border or plc break symbol. There is no control for the visibility, and there are no hooks for other attributes like "XREF".
- It would be better to have a similar function that would include a parameter for the name of a block to insert for these attributes and others, like "LINE1", "LINE2", or "FAMILY".
- The simplest thing would be to rewrite the "c:wd_inplc_nd" function to insert a pre-named block, if found in AutoCAD Electrical's search paths, and insert it at the child blocks insertion point. This is similar to the functionality of balloons and the block "wd_ptag_addattr_itemballoon.dwg".
- The "c:wd_inplc_nd" function is used in the wdio.lsp tool to insert the plc, so this change would also improve that tool as well.
Thanks,
DSnodgrass