How can we redifine a block in the same manner as we do manually with the command "insert blockname=".
I tried this:
Dwg=Activedocument
InsPt=Library.CreatePoint(0, 0, 0)
DwgName = "C:\BlockTest.dwg"
Dwg.ModelSpace.InsertBlock InsPt, DwgName
If the block with name DwgName (without the path) allready exists it's not redfined.
However, this works:
(blk=existing block reference)
RunCommand "insert " & blk.Name & "=" & blk.Name
RunCommand "0,0"
RunCommand "1"
RunCommand "1"
RunCommand "0"
Now the block is redifned, but it's not very elegant....
Any ideas?
Redifene block definition?
Moderator: CMS Inc
- CMS IntelliCAD
- - FAQ - Frequently Asked Questions
- - General
- - AutoLisp/SDS
- - VBA, . NET & IRX
- - - FAQ
- - New User
- - Small Business
- - Realistic Rendering
- - Bonus
- - Free CAD .DWG Blocks
- - License Management
- - Store, Accounts and Purchases
- - Academic
- QuoteCAD Manufacturing
- - General
- - Quotation and Manufacturing
- - Database Manager
- - License Management
- ETOOLBOX CAD Viewer
- - General
- - License management