Adds Reference and Value attributes on the assembly layer.
Syntax: |
|---|
| FWizAssembly.DrawAttributes(bSwitchPosition=false, bHideValue=true) |
Parameters
| Parameter | Description |
|---|---|
| bSwitchPosition | Specify true to change the position of the attributes. |
| bHideValue | If true the Value attribute is hidden. |
Return Value
If an error occurs it returns false otherwise it returns true.
Example
See the TO-220 sample code for the complete script.
Copy code
|
|
|---|---|
function OnBuildAssembly()
{
var ctx = FWiz.GetAssemblyCtx();
ctx.DrawAttributes();
}
|
|
