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
ok. some of your point labels have the special character "&" and also are very long. could you run a test template with one of the ones we provide and create a new test corridor and see if it works.
i suspect the problem could be that the tool does not like the point names
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
Alright Nico, I think we are on to something. I was able to run a test corridor with standard templates and the tool worked. Additionally, I was able to get the tool to work with one of our side street corridors and in the same dgn that the tool would not work for our main corridor.
Digging in further, I created a new corridor with a side street chain/profile and applied the same template that we have had issues with and the tool worked...this leads me to believe there is something wrong with our chain and profile for the main corridor. I created a new corridor for our main chain/profile and used a standard template and the labeler tool did not work. Any ideas on what could be wrong with our chain/profile for the mainline. The name for both is "Harney_CL". I can describe the chain and the profile in COGO and they appear fine.
ok, i looked at your chain closely, if you plot the individual components of the chain, you will see that the spirals at the end do not quite connect with the curve. these gaps will most likely be the culprit. check spiral C1H5RB and SPI C1H5RA
I see the gap between C1H5R and SPI C1 H5RA when I visually describe the individual elements. When looking at the curve descriptions though, the northings and eastings of the curve and spiral points match up to four decimal places at the same stations. Not sure how I can make them more accurate. Additionally, this chain was used previously with no issues with the cross section labeler tool. Any other ideas?
In the meantime I was able to find a work around for this problem. Since the cross section labeler tool works for my side street cross sections, I can draw cross sections for a side street and my mainline in the same dgn file and the labeler tool will open up and allow me to label any of the chains in my gpk file that are drawn in that dgn.
The curve and spirals were not connected as they should have been. The error was corrected, but unfortunately the labeler command still does not work for this chain.
there is still have to be something wrong with the chain. it doesn't make sense.. make sure there are no gaps overlaps or knots