pgreen Posted October 16, 2023 Share Posted October 16, 2023 Is there a way to recreate the GetSpaceNameForObj request in VectorScript? A function that will return an array of Space object names that an object is inside of? I'm trying to write a script that will write the space names an object is inside of to a record field. Soemthing like this.... except the "GetSpaceNameForObj" isn't a VectorScript function. PROCEDURE SetObjSpaceName; PROCEDURE SetREC(h :HANDLE); BEGIN SetRField(h,'recordFormatName','fieldName',GetSpaceNameForObj(h)); END; BEGIN ForEachObject(SetREC, ((R IN ['recordFormatName']))); END; RUN(SetObjSpaceName); Thanks for your help! Quote Link to comment
Thomas K. Posted October 18, 2023 Share Posted October 18, 2023 Hi i found a solution via data tag. i linked that one to a database. that got the job done. 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.