Hi All,
I am currently creating some Blocks to be used across the company I work for.
I have created a block for a SW Manhole that displays different sizes based on the visibility parameter. This works within the file this is saved within.
However, I am then creating a Macro that allows the insertion of this block in any drawing the user deems fit. Currently when you insert this block through the CUI it will appear however only as 1 block and will not allow cycling of the visibility states.
I have checked all that I'm aware it could be, including starting from scratch and re-doing it all. I had this process working at a previous job however don't have access to any files so I know its possible just cant seem to find the error I'm receiving.
How am I able to determine what block it is actually finding and ultimately using?
The macro is basically just inserting the block with name X found in support file path
That is correct, never seen that happen,
Would my work around be to have my macro explode the block on insertion or is there a way to fix this happening all together?
Is the source block saved as its own DWG file? or is it a block within DWG file?
I'm not a macro or lisp maker so beyond this I'm no help at all. I do know that inserting a DWG with a dynamic block in it leaves you with a dynamic block in a block vs the dynamic block being the DWG, then it inserts as a dynamic block.
(The design center and tool palettes have the ability to insert blocks from within other DWG files)
If it is inserting the file rather than the block, then use WBLOCK or within block editor "Save block as" and then check "Save block definition to drawing file" within the dialog to make a block file rather than a file with a block nested within it.
Can't find what you're looking for? Ask the community or share your knowledge.