I am creating a DC that represents one line of concrete form blocks. The end block in the row should be rotated to create an end for the form work. So my Wall Line component contains 2 blocks (standard form block and end block).
I have set the attributes to the standard form block to copy itself with a formula related to the length of the wall line. But the problem is that it creates multiple definitions for each identical standard block. This defeats the purpose as my material list will have unnecessary duplicates of the same object.
As an example, a standard form block is 602mm. A wall line of 2000 should create:
Standard Form Block, Standard Form Block, Standard Form Block, End Form Block of 194mm
However, I get the following:
Standard Form Block, Standard Form Block #1, Standard Form Block #2, End Form Block of 194mm
Hey. I removed the extra concrete block so you just have copies now. I also suggest using the Parent! reference instead of the parent component name to avoid errors if you make a change to the name. It also makes it easier to re use parts.
EDIT: Still makes unique definitions for the copies, I am not sure why. Perhaps some one else or @pcmoor can explain?Ëš
Any DC that has child DCs will become unique when redrawn.
you could use a fixed size component for the common block, hide sizes when necessary, however the ends will always be unique
Rather than using the definition name specifically. generalize it, “concrete block”?
Then use instance name, name attribute, or custom attribute depending on your chosen reporter.
I now use the name attribute for OCL, so first instance then name attribute, the instance helps to find it in outliner and provided name is “” and inserted into a clean file, the attribute and option header will update as normal component.
I then use the name attribute to name parents, child and add any other description (auto within DC)
I will set this DC up tomorrow, but night for me in Tas now
Consider a series of correctly drawn blocks, detailed to even show cuts for reno. All scaled to the first block and hidden, then on selection the right size is shown and only the visible option copied
Thanks a lot for the drawings. Especially the start feature is very practical!
So the error I made was that I made the standard block (uncut) intelligent?
And your drawing has all the versions in there, that it copies or hides, depending on the settings.