Closes the object group.

syntaxSyntax:
FWizAssembly.EndGroup()

Return Value

If an error occurs it returns false otherwise it returns true.

Example

  Copy codeCopy code
function OnBuildAssembly()
{
  var ctx = FWiz.GetAssemblyCtx();
  ctx.DrawAttributes(false, false);
  
  var style = FWiz.GetPenStyle(0);
  style.SetStyle("ballpoint pen blue");
  ctx.SetPenStyle(0); 
  var rect = new DlxRect();
  rect.SetRect(new DlxPoint(0,0), 10, 5);  
  ctx.BeginGroup("Body");
  ctx.DrawRectangle(rect);
  ctx.EndGroup();
}

See also