This problem comes up when you have C3D 2006 and C3D 2005 on the same
machine and you open a drawing in '06 that was created in '05.
Here is a post from Chakri Gavini on the issue:
Opening/editing up a Civil 3D 2005 corridor drawing in R2006, (without
uninstalling R2005) causes this.
Subassembly object is trying to run 2005 macro in 2006 and it fails as the
VBA object model and tool references have to be updated for 2006. This issue
is mentioned clearly in the read me for more information.
The quickest suggestion I would give you in this case is:
(1) Close all sessions of Civil 3D (R2005 and R2006 as well)
(2) Change "Corridor Model" (under C:\Programs Files\Autodesk Civil 3D
2006\Data\ or appropriate path according to your install) to some other name
(3) Launch R2006 and open that R2005 drawing with corridors in it
(4) Try rebuilding the corridor; since the 2005 based original subassembly
path is not found, Civil 3D will update the paths to the R2006
(5) Save AS a different drawing if you want to keep old drawing in case if
you want work with R2005 and the old dwg.
Please also see readme for additional info on this. Let me know if you any
wrote in message news:email@example.com...
I am trying to edit a corridor in C3D '06 that was created in C3D '05 and it
Run-time error '91'
object variable or with block variable not set
Then I had shut down C3D
What's up with that?
David E. Ross Asociates