Change level name to be the same as the value of an ItemType

Hi,

Is there a way to automatically change the level name of an element to be the same as the value of an ItemType attached to the same element?

Regards,

Chris

Parents
  • Hi Chris,

    I am not sure whether I understand your question right.

    Is there a way to automatically change the level name of an element

    "Level name of the element" does not makes sense in MicroStation, because the level name is a feature of level itself and can be changed (level is renamed), whereas the element is still in the same level.

    I assume you mean "to change level, where the element is placed"?

    to be the same as the value of an ItemType attached to the same element?

    ItemTypes properties can display element properties, but cannot change the properties. The workflow is one direction and read only. Expression itself cannot change anything is a design file, it's similar to a query.

    There is probably not many reasons why to store level name in ItemType property, because level is intrinsict (native) feature of every graphical element, so it only duplicates this information.

    Change level name to be the same as the value of an ItemType

    Can you provide more details how it should work and why do you need it?

    With regards,

      Jan

Reply
  • Hi Chris,

    I am not sure whether I understand your question right.

    Is there a way to automatically change the level name of an element

    "Level name of the element" does not makes sense in MicroStation, because the level name is a feature of level itself and can be changed (level is renamed), whereas the element is still in the same level.

    I assume you mean "to change level, where the element is placed"?

    to be the same as the value of an ItemType attached to the same element?

    ItemTypes properties can display element properties, but cannot change the properties. The workflow is one direction and read only. Expression itself cannot change anything is a design file, it's similar to a query.

    There is probably not many reasons why to store level name in ItemType property, because level is intrinsict (native) feature of every graphical element, so it only duplicates this information.

    Change level name to be the same as the value of an ItemType

    Can you provide more details how it should work and why do you need it?

    With regards,

      Jan

Children