I'm having some difficulty creating new work area attributes using the SDK (aaOApi_CreateAndInitializeAttribute), specifically assigning the control type i.e. none, pick list or select:
using the following function the attribute is created but it assigns Pick List as the Type. How do I set 'None' as the type?
aaOApi_CreateAndInitializeAttribute( ref attrId, ref ppNewAttribute, "Project_Test", "Test Label", "Test Description", 5, 50, 0, "Project_Test", false )
I'm also struggling to assign the default value using 'aaOApi_SetAttributeDefValue'
Hi Matthew,
this is general programming forum. You did not specify what product and version do you use (please read and follow best practices!), but it seems you use ProjectWise SDK. In such case I recommend to move your post to ProjectWise programming forum.
To move existing post to another forum, use More > Move tool below your original post.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Thanks Jan, I've moved the post as recommended.