Jump to content
Developer Wiki and Function Reference Links ×

Data stamp tool via Vectorscript


TobiasZ

Recommended Posts

  • 2 weeks later...

Hello,

 

thank you for the information. But the simple script

 

BEGIN
h := CreateCustomObject('teststamp',x,y,0);

message (h);

END;

 

doesn't work. H is always FALSE.

Is there anything else I need to be aware of?

I want to do the same with a table. Is it the same procedure?

Thanks for your help.

Link to comment

Do you actually have a PIO named teststamp?  I don't think you do.

 

The ObjectName parameter is the not name you want to give to the object, but rather the name of the Plug-in Object you want to create.

 

The following code works for me to create a Data Tag object. I recommend that you manually add a tag first to set the style to use.

 

PROCEDURE Test;

VAR	H1:Handle;

BEGIN
H1:=CreateCustomOBject('Data Stamp',0,0,0);

Message(H1);
END;

Run(Test);

 

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...