And on we go to another question.
I have our Detail Component Library on our server. I would like to make some minor changes to those blocks when insterted. I have read all about the "recipes" in the xml files and I can see where the code refers to layer keys but I have never written or edited anything like this.
So I have gotten that far but what I want to do is not just change a layer key. What I would like to do is this-
Edit the 2 core CMU masonry units so that when they are inserted into a drawing in section view I have one side of the block be a different color than the rest of the outline of the block. What i'm trying to achieve is have the component be brought in and used in a building section or wall section and have it print the outside of the block darker than the inside as it should be. I use ctb so it can stay on the same layer just different color but I need those lines that define the outside of the block to be heavier.
When I insert the component it has a block name and I can edit block in place but I guess it's not really a "block" since I can't find that block anywhere. Any idea how to do this in the xml file or am i just totally off base here.
Thanks,
Ryan
Solved! Go to Solution.
Solved by David_W_Koch. Go to Solution.
The reason you aren't seeing the block name is because the inserted block is not coming from a block defined in some drawing file, and is therefore inserted as an anonymous block reference. If you're editing this anonymous block in-place and assign colors to the different components, is it not retained? I think this should be the easiest way of achieving the desired result.
Thanks for the feedback.
You are correct. I can edit the block in place and it will retain those changes.
While that is definately a work around I would much rather have those come in correctly then have to edit each block in place per drawing. It just seems like there should be a way to edit these permanetly. I have these in a local folder on the server and would like everybody to just be able to grab them and pull them in ready to go. I'm the CAD manager here and the less steps they have to follow the more apt they are to be on the standards. If I have certain steps to edit each block then more chances that they won't happen.
Something is defining those lines in the recipe. I can find the layer keys and all that in the code but I can't figure out how the actual lines are defined (size, shape, what makes it a polyline).
Maybe i'm just asking for to much but it just seems to me that you can edit the display of most other things, why should this be different.
Thanks,
Ryan
Wow that's deep. Great reply and very educational!
Not the answer I was hoping for, but at least now I have an understanding of why.
Thanks for the time,
Ryan