How to add rotation to Cells when importing SHP files

Anonymous
Anonymous

I'm not sure if this is the right place for this topic,,but here goes

I am importing a shp file (points) as cells,  that have rotation values included in the attributes.  How can I rotate the cells to those values other than using element information and changing the cell angle to the rotation value manually for each one?

 

Parents
  • I thought I may have had a work around by using thematic symbolyzation. First  I imported the points as cells then added it as a reference to a model. I then generated classes (only 177 different angles for 600 plus points) from each rotation angle, and using some cut and paste I changed all the angle values.  It didn't rotate the cells.  Right now I would like any kind of a customization or work around that can accomplish this. 
Reply
  • I thought I may have had a work around by using thematic symbolyzation. First  I imported the points as cells then added it as a reference to a model. I then generated classes (only 177 different angles for 600 plus points) from each rotation angle, and using some cut and paste I changed all the angle values.  It didn't rotate the cells.  Right now I would like any kind of a customization or work around that can accomplish this. 
Children
  • I do not think that there is a work around that does not require customizing of some kind.

    I see three options:

    1. You customize it yourself.
    2. Bentley PS customizes it for you.
    3. We wait for Bentley Map to include this functionality.

    Ad 1. I do appreciate that this requires time and knowlegde of the XFM APIs. This is not always easy, but we are in process of adding more information to the BE Communities (possibly in the WIKI) to facilitate this. Also, feel free to ask any question if you decide to do this.

    Ad 2. This requires budget, and I don't want to be the one to tell what to spend it on.

    Ad 3. This is a middle term to long term solution.

    Hopefully one these options appeals to you.

    Cheers,

    Gijsbert

     


    This is a test

  • Anonymous
    Anonymous in reply to Gijsbert
    I guess I will be looking at options 1 and 3.  This is for educational purposes so I do not have a budget for custom services.  Where can I get some good information on XFM API's? 
  • For additional information, please refer to the "Bentley Map XFM Programmers Reference Guide" and "Bentley Map VBA Programmers Reference Guide" documentation delivered with the product.

    Regards,

    Jeff Bielefeld [Bentley]

    Regards,

    Jeff Bielefeld [Bentley]



  • Attached is very brief VBA example (and sample design file) which uses XFT to rotate cell feature instances using a "ROTATION" property. Please note this sample does not perform the following verifications...

    1. Which cell feature class is being processed.
    2. Whether or not the "ROTATION" property exists for the feature instance. No error event handler is provided.
    3. Whether or not the feature instance has been previously rotated.

    ...and therefore only serves as an simple example of using XFM property values to manipulate existing feature instances.

    Regards,

    Jeff Bielefeld [Bentley]

    Regards,

    Jeff Bielefeld [Bentley]



  • Thanks Jeff, I'll give that a try