I have created a dynamic scale bar block that a user can edit two custom properties of (Horizontal Scale and Vertical Exaggeration) and the values on the scale bar will self-adjust after a regen. The block works fine if inserted into a drawing as per normal the normal insert method.
However, the issue I am running into is this:
If the block is inserted into a template drawing that contains our standard company titleblock (again this part works fine), and that layout is then imported into a new drawing using the "From Template..." right-click option on the Model/Layout tabs, the block loses the custom user parameters. Editing the block definition shows that the parameters are there, they just no longer have names or default values and do not appear in the properties window when the block is selected.
Trying to edit the user parameter names in the block definition of this imported copy of the block, just results in receiving an error that I'm attempting to use characters that are not alphanumeric.
I've tried this same procedure with 2013 and the issues still occur. I've tried user parameter names that don't have an underscore in them (just in case that was causing the issue), but again no luck.
I've attached a simpler block that recreates the same problem:
Anyone else seen this or have an idea of a solution?
In working with the sample block you attached, I don't see where the parameters are assigned to anything. I inserted the Tester.dwg into a new drawing, and yes the parameters show up in the properties palette and yes you can change them, but there's no visible effect on the line in the drawing (even after a REGEN). Do you have a different sample where modifying the parameters visibly does something?
I was wondering if you had a different sample file which shows the effect of the custom parameters. Please feel free to post it up here.
Access a broad range of knowledge to help get the most out of your products and services.