Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
[Archived] AskInga Wiki How to modify shared cells that have tags
    • Sign In

    • -AskInga
      • +3D MicroStation
      • +AccuDraw Secrets
      • +Animation - Rendering
      • +Behind The Scenes
      • +Cells
      • +Colours
      • +Conversion - Translation
      • +Coordinate Input
      • +Design Settings
      • +Dimensions
      • +DWG
      • +EDG
      • +Element Manipulation
      • +Element Properties
      • +Element Selection
      • +Freeware - Shareware
      • +Interface Look And Feel
      • +Internet - E-Links - Links
      • +Keyins
      • +Levels
      • +Line Styles
      • +Models
      • +MSM Archive
      • +Other
      • +Presentations
      • +Printing - Plotting
      • +Programming - Automation
      • +Rasters - Images
      • +References
      • -Tags - Data Fields - Fields
        • Clear text editor when filling in data fields
        • Convert tags to text V7 and V8
        • Convert tags to text V8
        • Data field justification
        • How to make title block tag-cells
        • How to modify shared cells that have tags
        • How to re-order your data fields
        • Keyin to manually update update fields in text
        • Manipulate your tags
        • Move - Reassign Text Fields To Other Elements
        • Move tags from one element to another
        • Simplify filling in repetitive enter data fields
        • Text fields
        • Turn off text field backgrounds
        • Use drag and drop to make instant fields
        • Working with cells and tags attributes
      • +Text - Fonts - Annotation
      • +Views
      • +Windows - Interacting With
      • +Workspaces - Configuration
    • graffiti

     
     Questions about this article, topic, or product? Click here. 

    How to modify shared cells that have tags

     

    AskInga logo

    Revision Date: February 14, 2010

    I tested this workflow with V8i (verified it also working in XM Editon) . It even works in DWG-files directly....

    1. Export your shared cells including those with any tags into a cell library
    2. KEYIN: export cells shared e.g. mysharedcells.cel
    3. Open this file and edit the cells models there as desired
    4. Go back to the original drawing
    5. Attach that celllibrary (mysharedcells.cel)
    6. Select all the shared cells you like to change (Ctrl+A will do for ALL)
    7. Use the command Replace cell with the options Update and single > Accept the Selection Set with a datapoint.

    You can use the resulting library with any file that needs these cells to be replaced.

    Tipp (added July 2015): If you have normal cells with tags you need to save your file as DWG first to get them all as shared cells.

     

    The original article still may be required with previous versions.

     

    Original Article Date: June 7, 2005 

    The following tutorial was inspired by a recent user posting to Bentley’s discussion groups questioning how to edit shared cells. Specifically, shared cells with tags. With thanks to Scott Harmon of BETA Design, Gerald Hernandez, and Bentley’s Brien Bastings for contributing to this article.

    To follow along with this tutorial, start by downloading and opening the sample file that you’ll find in 252.zip.

    First, a couple of things about this file…it was once a DWG. This can be verified by looking at the Statistics tab of the File > Properties dialog.

    The file contains one tag set called RoomNum that contains a single tag with the name of NUM as shown below.

    And there’s one shared cell called R2 that has the above tag attached to it.

    The object in this lesson is to change the graphic of the room numbers from a shape with chamfered corners to one with rounded corners.

    Sounds simple enough, but have you ever tried to edit a shared cell with tags before? What you may have tried in the past is to drop the shared cell down to it’s geometry, but doing that will delete the tag as shown below:



    First select the shared cells needing to be modified, and un-associate the tags by using the keyin change tags dropassoc. Notice my use of the keyin: level element select "room numbers" to select all the elements on the level called Room Numbers. For more information about selecting elements on specific levels, refer to the following: Select All Elements on Active Level

     

    Once this keyin has been executed you’ll notice some weirdness happening. Essentially, by dropping the association of the tags to the shared cells they are now orphan tags. Orphan tags will always display the tag name, which in our case is NUM rather than the entered values such as 1004. In addition to this, orphan tags are always visible even if it never had a value in the first place.

    At this point you can delete the existing shared cells and replace the graphics with the new shape provided in the file. Alternatively, you could also drop the shared cells down to their geometry and modify the graphics manually as needed. It really all depends upon what your needs are. Notice my use of the keyin level element delete "room numbers" For more information about this, refer to the following: ***Keyin to delete level contents***

    The last thing to do is to reassociate the tags to the new shapes. This is done by putting a tag into a selection set and executing the keyin change tags reassoc followed by a datapoint on it's corresponding shape. In doing so, your tag value will magically reappear. Of course, if your dealing with multiple tags on a single element, be sure to first select them all before executing the noted keyin.

    AskInga Article #252

    • Shared Cells
    • Tags
    • Askinga
    • Cells
    • Article
    • Share
    • History
    • More
    • Cancel
    • cdenpa Created by cdenpa
    • When: Mon, May 19 2008 10:51 AM
    • Gerd Eisenacher Last revision by Communities MVP Gerd Eisenacher
    • When: Sun, Jul 12 2015 5:34 PM
    • Revisions: 10
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies