Jump to content

Overwritten AEC wall material entity location is MIA


Recommended Posts

Posted

I have written an extensive autolisp routine that basically razes AEC components, walls, doors, windows, & assemblies, turning them into 3d solids and maintaining their materials. This routine does all subcomponents of of AEC objects also. I have achieved this by turning off and on the "AecOverrideDispProps" section of the objects entity listing. For example, if an AEC wall has 3 components, I turn on 1 component at a time, then covert it to a solid and assign the appropriate material, then the routine turns on the next component, etc, etc,.

 

I ran into a situation I did not even know you could do, you can right click on a AEC wall for example and change the material for each of the components of said wall JUST for that section of wall. In the past I was creating a new wall definition for every wall material change. I like this better, you can literally have one wall definition and and 20 different materials assigned to it throughout the drawing.

 

Well I went into the entity listing of these material overwritten walls and I can not find ONE listing that points to the overwritten material. I have scoured every subentity listing, not one reference. The only thing I have found while comparing the updated wall with a non updated wall is a (90. 2) instead of a (90.1) listing :

 

Partial listing normal wall:

"AEC_WALL_CUSTOM_GEOMETRY}") (100 . "AecImpWallLinear") (102 . "{ACGECURVE3D")

(280 . 3) (10 58.8905 42.9267 0.0) (10 54.5 0.0 0.0) (102 . "ACGECURVE3D}")

(210 0.0 0.0 1.0) (102 . "AEC_SUBOBJECT}") (102 . "{AEC_SUBOBJECT") (300 .

"AecImpArray") (100 . "AecImpObj") (3 . "") (100 . "AecImpArray") (90 . 1) (102

. "{AEC_SUBOBJECT") (300 . "AecOverrideCanBoundSpaces") (100 . "AecImpObj") (3

. "") (100 . "AecOverride") (100 . "AecOverrideCanBoundSpaces") (102 .

"AEC_SUBOBJECT}") (102 . "AEC_SUBOBJECT}") (100 . "AecDbGeo") (100 .

"AecDbWall"))

 

 

Partial listing material changed wall:

"AEC_WALL_CUSTOM_GEOMETRY}") (100 . "AecImpWallLinear") (102 . "{ACGECURVE3D")

(280 . 3) (10 46.9863 30.027 0.0) (10 54.5 0.0 0.0) (102 . "ACGECURVE3D}") (210

0.0 0.0 1.0) (102 . "AEC_SUBOBJECT}") (102 . "{AEC_SUBOBJECT") (300 .

"AecImpArray") (100 . "AecImpObj") (3 . "") (100 . "AecImpArray") (90 . 2) (102

. "{AEC_SUBOBJECT") (300 . "AecOverrideCanBoundSpaces") (100 . "AecImpObj") (3

. "") (100 . "AecOverride") (100 . "AecOverrideCanBoundSpaces") (102 .

"AEC_SUBOBJECT}") (102 . "{AEC_SUBOBJECT") (300 .

"AecOverrideMaterialAssignment") (100 . "AecImpObj") (3 . "") (100 .

"AecOverride") (100 . "AecOverrideMaterialAssignment") (102 . "AEC_SUBOBJECT}")

(102 . "AEC_SUBOBJECT}") (100 . "AecDbGeo") (100 . "AecDbWall"))

 

Also notice the (100 . "AecOverrideMaterialAssignment") at the end of the listing WITH NO reference to an entity telling me what the new material is.

 

Now, I can post ALL the listings for all the subentities for each of these 2 walls, and guess what, they are exactly the same, compared side by side. I thought for sure when I listed the entity name associated with the wall component I changed it would show the overwritten material, it did not, it showed the material as defined in the AEC wall properties.

 

I have checked every entity listing for (100 . "AecOverrideDispProps") for each sub entity if it existed expecting to see some sort of difference between a regular wall and an overwritten wall, nothing, exactly the same. The only difference is on the main entities listing shown above, (90.2) which is telling the Autocad that the material for this object is changed, doesnt say what it changed to or point anywhere, just that it has changed.

 

Any experts care to weigh in ? Thanks in avanced.

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...