Jump to content

Problem with VW2022 Attribute Criteria Loc and Walls


Recommended Posts



I've been using this abridged macro for years.


However, it doesn't seem to work with VW2022.


Can anyone suggest why all the objects within the large polygon will accept the attachment of MyRecord (change this name as required), except the Wall object ?




procedure Fetch;

var hFSA : handle;

	procedure Test (h : handle);
	SetRecord (h, 'MyRecord');

DelName ('Tmp');
hFSA := FSActLayer;
SetName (hFSA, 'Tmp');
ForEachObject (Test, (Loc = 'Tmp'));
run (Fetch);


Link to comment

It seems to be working on my VW 2022. When I first select the wall after the script is run, the OIP Data pane has the <Default IfcWallStandateCase> record format selected. If I change the record selection to "MyRecord> (with the wall selected) I see the proper fields show up below. Is this what you are seeing?



Link to comment

Yes, all objects inside the outer rectangle have the record attached, using a Mac.


I select the outer rectangle and run your script. When I select the wall object, I see this in the OIP. When I first click on the wall, the IFC record is selected, but when I click on the "Format-1" record above it I see the field "fld" at the bottom with dummy data "abc", so the record is definitely attached.





Edited by MullinRJ
  • Like 1
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.

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