Jump to content
Developer Wiki and Function Reference Links ×

parameter bug?


Recommended Posts

When I add a parameter (any parameter) to this custom tool plug-in it stops working...

Note it calls for the creation of a PIO, and as a parameter is created for the tool, the PIO stops being created.

I've tried to add a getclass-setclass PIO reset but it didn't work.

rgds,Alexandre

---axis-line.vst:Procedure AxisLine;VAR h, m, Waldo: HANDLE; px,py: REAL;BEGIN PushAttrs; NameClass('axis'); PenColorbyClass; LSbyClass; LWbyClass; Locus(0,0); Waldo:=Lnewobj; CallTool(-201); {line tool} h:= nextobj(waldo); delobject(waldo); Get2DPt(h,2, px,py); {line's second point} PopAttrs; m:=CreateCustomObject('axis-label',px,py,#0d);END; {create an instance of PIO 'axis-label' }Run(AxisLine);---axis-label.vso:Procedure AxisLabel;BEGIN PenColorbyClass; Arc(-0.125,0.125,0.125,-0.125,#360d,#360d);END;Run(AxisLabel);---(VW 9.5 on a mac)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...