When I try running the cross section labeling tool out of the Corridor Modeling window I get an error
Run-time error '91':
Object variable or With block variable not set
I have the options to "End", "Debug", or "Help"
"Debug" opens VBA editor which is far beoynd my experince to use. "End" closes the processes without starting the labeling tool. "Help" opens a help window which hasn't been very helpful.
How can I get cross section labeler to run? I've restarted multiple times and tried creating a new file and copying in the cross sections to a clean file. Any suggestions?
I'm using V8i, Select series 2.
Thanks
It may also be useful to know that this appears to be a problem unique to a single dgn. I have multipe cross section files on this project and all files can have been labeled successfully but one.
This is usually a registry problem ... you can try self-registering the dll.
1.) Close all DGN files
2.) Bring up the dos prompt and change directory ("cd") to the following location (may be slightly different on your computer):
cd C:\Program Files (x86)\Common Files\Bentley Shared\GEOPAK\
3.) Key-In "REGSVR32 BentleyControls.ocx" and press Enter.
You should get a message "DllRegistryServer in BentleyControls.ocx succeeded"
4.) Now exit the dos prompt, go back into your DGN file and try again.
Derricke
can you post your dgn and gpk file?
For more information about the Road and Site design tools, visit the Road and Site design WIKI at: http://communities.bentley.com/products/road___site_design/w/road_and_site_design__wiki
Here is the gpk file.
Here is an xsd.dgn. Please note that this issue is not limited to one dgn in my case. Rather all of the dgn's I have tried show the same error. The error also occurs on other user computers using the same files.
I can confirm the problem with these files. The usual culprits are not at fault. Does this happen with other cross section files (ie cross sections from other chains) with the same gpk?
Yes, this does happen with other cross section files (other chains) with the same gpk.
do all the xs with problems have chain names with the Underscore _ ?
All of our chains have an underscore and this tool has worked in the past using them. To check your thought though, I recreated a chain and profile in the same gpk file using the name 'Cedar' and the error remains.
what version of geopak are you using?
Bentley GEOPAK V8i (SELECTseries 2) 08.11.07.536
ok, at this point, i am running out of ideas. i can reproduce the problem with your dataset. I would try recreating the xs in a fresh dgn.