Gets the drawing context of the assembly layer.

syntaxSyntax:
FWiz.GetAssemblyCtx()

Return Value

Returns a FWizAssembly object.

Remarks

The assembly layer drawing context is only available in the function in response to the OnBuildAssembly event.

Example

See the TO-220 sample code for the complete script.

  Copy codeCopy code
function OnBuildAssembly()
{
  var ctx = FWiz.GetAssemblyCtx();
  ctx.DrawAttributes(false, false);
}

See also