Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Member Login

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Eng-Tips
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...just the few hours I've spent on this site I have learned a lot. I can now implement features that will be very useful to my company, and some of those I never knew existed..."

Geography

Where in the world do Eng-Tips members come from?
ArtLuther (Geotechnical)
14 Jan 11 17:36
HI!!! I'm new in microstation and I need some help! I hundreds of dgn files in a folder and I need to apply "fence file" command on all of this dgn files.  Can anyone tell how to fence file or functions as a fence file, all the these dgn files in a batch process? thanks a lot!
mechamb (Civil/Environmental)
20 Jan 11 10:51
ArtLuther,
Here is a string of commands that you could run for batch process.  Not exactly sure if this is what you will need but it is a start.

#  Command file for batchprocess utility
fit view extended
selview 1
place fence view
selview 1
ff=c:\temp\FenceFileExport.dgn
selview 1
#

There is always the option to use Batch Converter under the Utilities pull down.  You can convert a V8 file and keep it a V8 design.  The batch converter has options for Reference files etc.

HTH,
Bob Mecham
 

Training | Consulting | Programming
www.EnvisionCAD.com
Facebook: http://www.facebook.com/EnvisionCAD
Twitter: http://twitter.com/envisioncad
Youtube: http://www.youtube.com/user/envisioncad

ArtLuther (Geotechnical)
20 Jan 11 11:19
Cool!!! Thanks Bob I'll try this thing.  
ArtLuther (Geotechnical)
23 Jan 11 2:09
I tried this command
#
fit view extended
selview 1
place fence view
selview 1
ff=F\:Mywork\fencefile
selview 1
#
and applied this to 40 sheets of dgn using batch process.  What happen is that all fence file export save on the same dgn file name which is "fencefile.dgn".  But the "fencefile" in "ff=F\:Mywork\fencefile" is just another folder.  Why is it not saving the same dgn file name accordingly?  Is there a way or do I miss something in my command?  
mechamb (Civil/Environmental)
27 Jan 11 10:12
Sorry ArtLuther I have been out of the office.

I guess using the keyin you need to give it a new name each time.  

Have you ever used Batch Converter?  There are options to merge reference files etc that will give you the same result as the fence file command.  It will also allow you to copy the files with new names to a different directory.

HTH,
Bob Mecham

Training | Consulting | Programming
www.EnvisionCAD.com
Facebook: http://www.facebook.com/EnvisionCAD
Twitter: http://twitter.com/envisioncad
Youtube: http://www.youtube.com/user/envisioncad

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close