+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
  1. #1
    Full Member
    Using
    AutoCAD 2011
    Join Date
    May 2011
    Location
    Idaho
    Posts
    35

    Default Microstation V8 Cell Libaries

    Registered forum members do not see this ad.

    A while back I created a few cell libraries. Now I am trying to use them and am realizing that I created them at the wrong scale.... Every time I use one I need to scale it up by 8. Does anyone know a way that I can change the scale on the whole cell Library at once? I want to scale everything up in that library by 8 so that next time I go to use the cells I don’t need to scale them.

  2. #2
    Full Member envisioncad's Avatar
    Computer Details
    envisioncad's Computer Details
    Operating System:
    Windows XP Pro and above
    Computer:
    Dell Laptop Precision
    Using
    Civil 3D 2013
    Join Date
    Jul 2010
    Location
    Madison, WI, United States
    Posts
    54

    Default

    Hello Fastdraft, you can open the V8 cell library in MicroStation and each cell will be a model. Then you can run a Utilities>Batch Process on all the models.

    Something like:
    fit view extended
    as=8
    choose all
    scale icon
    xy=0,0
    choose none
    as=1
    filedesign

    HTH,
    Bob Mecham

  3. #3
    Full Member
    Using
    AutoCAD 2011
    Join Date
    May 2011
    Location
    Idaho
    Posts
    35

    Default

    Thanks envisioncad, I am a little confused when i get in and have to right the text file???? i put in what you are telling me but i am still confused

  4. #4
    Full Member envisioncad's Avatar
    Computer Details
    envisioncad's Computer Details
    Operating System:
    Windows XP Pro and above
    Computer:
    Dell Laptop Precision
    Using
    Civil 3D 2013
    Join Date
    Jul 2010
    Location
    Madison, WI, United States
    Posts
    54

    Default

    Fastdraft, here is some more information on Batch Process.

    Batch Process is a utility that will run a list of MicroStation commands on a group of files or directories. The command list can also include custom macros and mdl applications. The command list is a simple text file that can be edited in Notepad. A Batch Process job file containing the batch process settings can be stored and reused.


    The Batch Process dialog is accessed from Utilities > Batch Process and is used setup, save and open the batch process jobs. The dialog will help control which files are added to the job and which files are processed.
    batch.png
    The Command File is a simple text file that has MicroStation key-in commands listed. Any line that begins with a pound symbol # will not be read as a command line. Multiple commands can be run in consecutive order and additional macros and mvba apps can be started.
    command.png

    Just try the keyins one at a time in the keyin browser to see what they do in your drawing. Then create the Text file with them all together and test it on a file. If you are still having trouble please let me know.

    HTH,
    Bob Mecham

  5. #5
    Full Member
    Using
    AutoCAD 2011
    Join Date
    May 2011
    Location
    Idaho
    Posts
    35

    Default

    Ok, I think I got them scaled using the batch Process.... How do you view all the model items so that can put them back into a cell library? I tired to just run the batch process on the cell library but it doesnt save the scale change back to the cell library that is already created?

  6. #6
    Full Member envisioncad's Avatar
    Computer Details
    envisioncad's Computer Details
    Operating System:
    Windows XP Pro and above
    Computer:
    Dell Laptop Precision
    Using
    Civil 3D 2013
    Join Date
    Jul 2010
    Location
    Madison, WI, United States
    Posts
    54

    Default

    Fastdraft, the cell library is just a DGN file with a different three letter extension. Always work with a copy the first time. Take your CEL file and rename it to DGN then you will be able to run Batch Process on all the models in the file. Then you can rename it back to CEL and reattach the library.

    HTH,
    Bob Mecham

  7. #7
    Full Member
    Using
    AutoCAD 2011
    Join Date
    May 2011
    Location
    Idaho
    Posts
    35

    Default

    Thanks, I can get the batch process to run but for some reason i cant get the scale factor to hold. it tells me that the process worked and I see that it is but after i get out of the drawing and try to use it as a cell library it is not working. I am just going to probably have to play with it more when i have time.

  8. #8
    Full Member
    Using
    AutoCAD 2011
    Join Date
    May 2011
    Location
    Idaho
    Posts
    35

    Default

    Ok, So I have been trying to work on scaling all the models in my cell library this morning with the batch process. It seems to run but doesnt save? this is what my text file is
    scale
    as=.6668192

  9. #9
    Full Member envisioncad's Avatar
    Computer Details
    envisioncad's Computer Details
    Operating System:
    Windows XP Pro and above
    Computer:
    Dell Laptop Precision
    Using
    Civil 3D 2013
    Join Date
    Jul 2010
    Location
    Madison, WI, United States
    Posts
    54

    Default

    Fastdraft, is the cell library in a read only directory? What does your entire batch process script look like?

    Did someone Lock your models? http://communities.bentley.com/commu...ed-models.aspx

    Can you do anything with the script file to the models/cells?

    Bob Mecham

  10. #10
    Full Member
    Using
    AutoCAD 2011
    Join Date
    May 2011
    Location
    Idaho
    Posts
    35

    Default

    Registered forum members do not see this ad.

    The cell library is not read only and the models are not locked, I am puzzled my script file that I am using is shown below. and it tells me that the process ran but when i go back and messure the a component it is the same size as it was before I ran the batch process. scale.png

Similar Threads

  1. Cell Styles for Tables
    By ziemerd in forum AutoCAD Beginners' Area
    Replies: 8
    Last Post: 30th Mar 2009, 06:18 pm
  2. How to change just on cell type using vla
    By BLOACH85 in forum AutoLISP, Visual LISP & DCL
    Replies: 1
    Last Post: 19th Feb 2009, 08:01 pm
  3. Block to excell cell - is it possible?
    By JerryG in forum Civil 3D & LDD
    Replies: 7
    Last Post: 25th Jun 2008, 06:37 pm
  4. Height and Width of cell
    By guyzen2004 in forum AutoCAD General
    Replies: 4
    Last Post: 19th Sep 2007, 04:22 pm
  5. Selecting a Cell
    By C9Mouse in forum Web Design
    Replies: 4
    Last Post: 19th Dec 2002, 01:47 am

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts