Gets the drawing context of the assembly layer.
Syntax: |
---|
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 code | |
---|---|
function OnBuildAssembly()
{
var ctx = FWiz.GetAssemblyCtx();
ctx.DrawAttributes(false, false);
}
|