Setting Color Table

Discussion in 'Microstation' started by sworna vidhya, Apr 1, 2004.

  1. Hai,

    I want to segregate the entities of the current working design
    file into different files. I am able to create new files with an copy
    of the entities that belong to those particular files with the
    functions
    1) mdlWorkDgn_read
    2) mdlWorkDgn_write.

    The symbology and the propeties of the entities remains the same.

    Problem area is as follows :

    a) The current working design file is having a color table ( not
    the default color table). When creating the files, I am getting the
    color table as default color table. But I want to get the color table
    of the working design file.

    b) Also i tried with mdlColor_getColorTable which i got the color
    tablename of the working design file in the main function. And setting
    the color tablename with the function mdlColor_attachColorTable after
    the function mdlWorkDgn_write. When i do this, the colortable of the
    current working file is getting processed by this function and not the
    newly created design files.

    Help me in setting the colortable for the newly created design
    files as like the working design file.

    Help with suggestions, advice in advance is invited...

    Regards,
    M.Sworna Vidhya
     
    sworna vidhya, Apr 1, 2004
    #1
  2.  
    Martin Blanke, Apr 1, 2004
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.