We are implementing Item Types for use of pay items. Currently how our Pay Item structure is set up, it is possible for a model element to have two or more of the same pay item and therefore might need the same item type attached twice. Currently the same item type cannot be attached to a single element. We would like the same item type to be attached to an item multiple times.
Looks like the array does indeed work for a big part for this application. I'd have to test more in depth to know with certainty if we could use this.
It is a pity though that it takes 2 years to receive this reply. One wonders how much Bentley actually cares about the IDEAS portal...
Hello Justin,
Thank you for submitting your idea. Your request can be achieved by creating an Item Type that is an Array.
Here are instructions for creating an Item Type with an Array Property:
1. Open the Item Types Dialog
Go to Drawing > Attach > Item Types or Modeling > Content > Item Types.
Click the Item Types dialog launcher.
2. Create a New Item Type Library
Click New Item Type Library if you don’t already have one.
Name it appropriately.
3. Create a Custom Property Type
If you want your array to be of a custom type (like a structure with multiple fields), create a Property Type:
Click New Property Type.
Add the desired fields (e.g.,
ElementID,ModelName, etc.).4. Create a New Item Type
Click New Item Type.
Name your item type.
5. Add a Property with Array Type
Click New Property Definition.
Set:
Name: e.g.,
ValuesType: Choose your custom property type (created in step 3).
Is Array: ✅ Check this box to make it an array.
6. Attach the Item Type to an Element
Use the Attach Item tool to apply your item type to a drawing element.
I've also attached an example DGN that contains an Item Type library with Items that have Array type properties and an element that has it attached.
Regards,
Tamicca Sellars
MicroStation Product Manager
Doesn't the array option enable this function.