Page 1 of 1

change default property for new type

PostPosted: Tue Apr 04, 2023 5:28 am
by Thomas
Hi,

I have created some new stereotypes for Block and PartProperty as shown in the attached image. When I create a create a Block in the containment tree and drag&drop it on a parametric diagram it generates a PartProperty. How can I a achieve the same behavior for MyBlock? So when i drag&drop MyBlock on a parametrics diagram it should create a myPart.

best regards
Thomas

Re: change default property for new type

PostPosted: Tue Apr 04, 2023 8:19 am
by jmorales1
A parametric (PAR) diagram is a kind of internal block diagram (IBD). IBDs can't contain blocks, and neither can PAR.

Re: change default property for new type

PostPosted: Wed Apr 05, 2023 2:41 am
by ThomasD
yeah, I don't want to create a block in the par diagram. But you can drag a block on a par diagram and then you get a partProperty that's typed by the block. And I wan't a similar behaviour for my custom stereotypes.