Generate Dynamic Block with code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there,
I want to write a tool to create dynamic blocks based on blocks i allready made. To give an example of what I want to do, I have a folder with aprox 200 blocks, with different dimensions, which I want to combine into a single block using visibility. Usually I do this manually by dragging and dropping the block and setting it to the proper visibility and creating all the visibility names. Now i have written some python code to gather all the files and i also wrote some code to insert the block from the drawing into a new template and this works great but i would like to also create the dynamic properties and visibilities dynamically as its a pretty simple logic to follow. I have never created dynamic blocks with any language before, only regular blocks with VBS, .NET and now Python, I prefer Python with ObjectX but I dont think its supported there, is it?
Regards,
Philip