CEU14 - Why doesn't Paste from Clipboard work the same in CE as it does in SS4?

I have just noticed Paste from Clipboard (Ctrl+V) doesn't work the same in CE as it does in SS4. I have a spreadsheet of floor areas that I select in excel and Ctrl+C. If I paste into a drawing sheet opened in SS4 I get:

but in CEU14 I get 

Why does it not paste in the same? WE use this a lot so for the program to not work the same as SS4 is a problem and another reason to stay with v8i.

Parents Reply
  • HI Stuart

    Understand, I think you are missing something.... once the ITEM TYPE is setup and defined in a DGNLIB at Organisation level, it si so so so easy to apply it to the element.  Once applied it is a click on the reports icon and run the area report..

    as an example, not only can you get the areas, but you could assign the Tenure, Nit Type, Block Type, Target Area, Actual Area, aspect orientation (NE) and a lot more.  once in the file, this can be managed and reported and it is one source of truth, thus if someone changes the CAD data the report updates.

    Its worth reviewing

Children
  • Understand, I think you are missing something.... once the ITEM TYPE is setup and defined in a DGNLIB at Organisation level, it si so so so easy to apply it to the element.  Once applied it is a click on the reports icon and run the area report..

    You may well be right but what we use works (in SS4 anyway) and is simple. At this point we don't need anything else.

    I have tried to use item types but found them way too complicated so gave up. If I can't make it work in 30 mins then it's not that user friendly. I like to keep things simple. 

  • If you've got 30 minutes, try this: Item Types - Populating Items using Lookup Tables

    It includes sample files to make life easy

    I had a look at this but it lost me about a 3rd down the blog.

    What's a lookup table & why would I need one of these for building areas?

    What's a pick list & why would I need one of these for building areas?

    Would I need both of the above for each site that we look at?

  • Agreed. It took me a while to realise that the approach in the Blog was a bit inane and skipped a few "follow the bouncing ball" steps that would make it much easier to understand.
    Basically though, you have an Excel spreadsheet set up with Arrays of information that relate to a Picklist item.

    E.g. (I hope this is clearer)

    I select a Light Type - ZA280L-GG from LIGHTNAME Picklist, and the Lookup expressions in each field finds all the other data that is associated with that particular model light and automatically populates the fields, saving heaps of repetitive time.

    NB. Don't get confused by the "Create the PickList" section as this is a it of a red herring. PickLists in the WorkBook are a One Off deal, and once loaded into the Item Type LIbrary, have no further use, other than maybe a backup. I recommend skipping straight to "Create the Item Type" section.

    Each piece of extra data is columnated with a NAME that is specific to that key field (LIGHTNAME)
    e.g.

    In the ITEMS.xlsx Workbook, I have a Worksheet called VENDORCODE, with the following lines of data.
    LIGHTNAME          MANUF           DIRECTION     COLOUR1   COLOUR2   TYPE  (NB. No spaces in name!)
    ZA280-GG             ATG Airports    STRAIGHT      GREEN        GREEN        INSET
    ZA280-GY             ATG Airports    STRAIGHT      GREEN        YELLOW      INSET ...etc.

    The Expression to select the extra data when the key data is chosen is simple, if you reverse engineer what each part is doing, when compared with the example.

    Their E.g. LookUp.GetEntry("UKNativeTrees","CommonName",this.CommonName).LatinName

    correlates to (for one entry) as (ignore {}. This just groups the fields for easier reading):

    LookUp.GetEntry("{Key Sorting Field}","{name of the WorkSheet the Array is listed in}",this.{Key Sorting Field}).{Worksheet Column Name}

    Or as the Blog describes it...
    "The expression specifies the name of the Excel worksheet containing the lookup table (the Excel file can contain multiple lookup tables on separate worksheets), the controlling value and finally for each property, its name, to link it to the controlling value."

    My E.g.

    LookUp.GetEntry("LIGHTNAME","VENDORCODE",this.LIGHTNAME).MANUF

    So when I choose ZA280-GG, or ZA280-GY, the MANUF is returned as "ATG Airports" populated into the field described in the expression.

    Also, the key to finding the WorkBook is to add the Excel Spreadsheet into a path that is defined by ITEMTYPE_LOOKUP
    This variable is pointing to a file (in my example) named "ITEMS.xlsx" which has a Worksheet called "VENDORCODE" with the above data over multiple lines of entry, one for each LIGHTNAME.

    (I note I have the old name defined as wasn't aware of the change from U13 - good timing)

    Sorry to say the same thing over and over, but I hope this helps. The key is understanding how the Expression gets the data from out of the WorkBook, WorkSheets.

    Greg Smith

    Microstation 10.17.01.058

    Opinions expressed are my own and not necessarily those of my employer

  • Hi Greg,

    Creating picklists in Excel is described as it is easier to paste in lists from other sources by this route. You are correct that once the picklists have been imported the Excel file is simply a backup, although obviously with the potential to be updated and used as a source once again.

    I will review the blog and see what I can do to make it clearer. 

    Marc