Hey all I have never used a script in Bentley before. Can someone point me to a good how to.
I am looking at creating a script to move data, raster image, survey data, line work... that has been sent to me from a client that has their own coordinate system and move it to the DOT coordinate system. My surveyor is just starting to use Bentley software so doesn't know its power and abilities. He has created an awesome script in Civil3d that he can open the clients file drag and drop a script file into civil3d and it grabs everything and it moves, rotates and scales everything in the file. It would be nice to eliminate the step of opening Civil3d, yuck, and applying a script in ORD to do it. How do I do this in ORD? Here is his script for Civil3d.
move
all
d140061.275625,363728.0935,4.51825000000008rotate all 205235.102125,405861.2315 -0.00208155092375scale all 205235.102125,405861.2315 0.999983593541831
If the surveyor is using the same custom coordinate system from project to project, wouldn't it just be easier to define a custom GCS for that particular surveyor, reference a seed file which has the DOT coordinate system applied, and then just "Merge to Master"? I don't think we've ever had to do this, because the deliverable GCS is called for in the scope of work, so I'd be curious to know if it worked how I think it should work.
e: Also a link to the Wiki Keyin Script post. Basically, you just create a text file with the Keyin commands line-by-line (I keep mine in c:\Scripts), and then call for them using the keyin browser with "@"(filelocation)
communities.bentley.com/.../how-to-string-keyins-together-or-create-keyin-scripts