I'm new to vectorsript and am trying to create a script that will change the attributes of selected windows in walls. I've tried using FSActLayer but it only seems to work on windows NOT inserted into walls.
I have cobbled together the following script based on a previous message board post but, without the ability to grab the handles of selected windows, it changes ALL of the windows in the file.
PROCEDURE WdwSill5_5;
PROCEDURE ChangeSill(h :HANDLE);
BEGIN
SetRField(h, 'Window', 'Inc
Bill,
???When in doubt, tunnel in. Not being well versed on the WALL object, I wrote this script to quickly dig around inside. There are probably better ways to get what you want, but this style of script always yields interesting results.
???There are two statements that do the heavy lifting. One is FIn3D() which almost always cracks the door on container objects, and the WALL is definitely a container. The second one is GetName(GetRecord(H, NumRecords(H))) which returns the name of the PIO