Redifene block definition?

How can we redifine a block in the same manner as we do manually with the command "insert blockname=".I tried this:Dwg=ActivedocumentInsPt=Library.CreatePoint(0, 0, 0)DwgName = "C:\BlockTest.dwg"Dwg.ModelSpace.InsertBlock InsPt, DwgNameIf the block with name DwgName (without the path) allready exists it's not redfined. I also tried Dwg.ModelSpace.InsertBlock InsPt, BlkName &"=" &DwgNamewithout luck.However, this works:(blk=existing block reference)RunCommand "insert " & blk.Name & "=" & blk.NameRunCommand "0,0"RunCommand "1"RunCommand "1"RunCommand "0"Now the block is redifned, but it's not very elegant....We also have the problem that VBA doesn't wait for RunCommand to finnish... Any ideas?

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.