In order to get some of the Visio hold-outs on board I created a manual activity shape. The script also displays the symbol for composite activities. Hope this helps someone, somewhere!
shape main
{
//setfillcolor(0,0,0);
startpath(); // Start to trace out a path
moveto(0,0);
lineto(100,0);
lineto(85,100);
lineto(15,100);
endpath(); // End tracing out a path
// Fill the traced path with the fill color
fillandstrokepath();
addsubshape("namecompartment", 100, 60);
if (HasProperty("iscomposite", true))
{
addsubshape("compositecompartment", 80, 50);
}
shape namecompartment
{
h_align = "center";
v_align = "center";
editablefield = "name";
//rectangle(0,0,100,100);
println("#name#");
}
shape compositecompartment
{
h_align = "right";
v_align = "bottom";
println("O_O");
}
}
- Eisen