TobiasZ Posted October 26, 2022 Share Posted October 26, 2022 Hello everyone, is there any possinbility to use the Vectorworks data stamp tool with Vectorscrict? The classes do not have to be createt or changed. The stamp should only be inserted to a difined position and linked to a previously inserted symbol. Quote Link to comment
Pat Stanford Posted October 26, 2022 Share Posted October 26, 2022 The CreateCustomObject and CreateCustomObjectN procedures allow a Vectorscript to place an instance of a PIO. They should work with DataStamp or DataTag objects. Quote Link to comment
TobiasZ Posted November 8, 2022 Author Share Posted November 8, 2022 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. Quote Link to comment
Pat Stanford Posted November 8, 2022 Share Posted November 8, 2022 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); Quote Link to comment
Recommended Posts
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.