[MStn CE U13] ItemTypes in ParametricCell definition?

Hi,

I tried to use ItemTypes in Parametric cell, but it seems it does not work in all scenarios.

I'd like to know whether it's bug or it's "by design behavior".

What I tried (I used Strairs cell from MetroStation example):

  • I attached ItemTypes to an element, that was consequently used in Parametric cell definition.
  • I attached another ItemTypes to the model, that contains Parametric cell definition.

[Edited paragraph] When I placed the cell to a model, I see:

  • ItemTypes attached to elements (the cell content) are lost.  It seems the cell is a kind of "black box", so everything inside (elements, constraints, variable etc.) are hidden and only variants and variables are exposed.
  • I was surprised a bit that also ItemTypes attached to the model were lost too.
  • ItemTypes attached to model (parametric cell) are inserted correctly to target model (I probably did something wrong when I wrote the post).

With regards,

  Jan

Parents Reply
  • Hi Bob,

    thanks for your comment.

    Although I cannot say this issue and the issue lined immediately below are 100% related

    I think it's not related, because in the discussed case, when ItemTypes are attached to the cell (to the model), they are not placed together with the cell. This scenario works fine in my case (at least when parametric cell is placed by a user).

    What does not work is when ItemTypes are attached to elements, that are used to define the cell. In such case ItemTypes are swallowed and not presented to a user. It's not clear whether it's bug (and should be fixed) or it's by design feature (and should be explained in documentation).

    Accordingly my tests, ItemTypes EC schema is copied to design file together with parametric cell, but not used.

    From my "external perspective", it relates to this my programming question. Whereas it's possible to iterate content of all elements in some way (do not recall any exception), both parametric cell definition (in dictionary) and parametric cell instance (in a model) are opaque and there is no way how to analyze the source elements (including their custom data).

    With regards,

      Jan

Children
No Data