3D scale and level of Detail, a Trick

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-03-16
05:13 PM
- last edited on
2023-05-24
11:51 AM
by
Rubia Torres
I fall in the same dilemma every time a building project reaches "maturity":
The approach to this problem in Floor-plan Viewpoints is to manipulate the complexity of the elements in 2D; object's representation can be determined by the Scale in which the element is shown.(GLOB_SCALE)
The approach to this problem in 3D window is typically to modify manually the Level of detail or resolution of the object, one by one... making you losing time making the change and giving you a lot of (sometimes) unnecessary detail in 3D window.
The 3D window have a Scale too, if you script an object to make its RESOL level dependant of the GLOB_SCALE (3D Script), the object will change appearance in different scales in the 3D window... just like in Floor Plan.
I used this method for a while and it worked well. But a couple of times I wanted to have a deeper/different Level Of Detail shown specifically in Section/Elevations regardless of it's behaviour in the 3D window.
The trick here is to use GLOB_CONTEXT. This global variable will detect in which type of viewpoint the object is shown, and make the object sensitive not only to the scale but to the type of viewpoint as well.
The Aluminum Mullion/Transom Profile:
I use some typical aluminum profiles for my Curtain Walls, and I want them to be shown as blocks for scales above 1:100 in floor plan and sections, as hollow sections when in 1:50 and with all the bolts and details when below 1:20. And keep the 3D representation always as Blocks.
By using a combination of GLOB_SCALE and GLOB_CONTEXT it was easy and I was able to keep the Polygon count reasonably low in the 3D window.
P.S. It would be really Great If Graphisoft includes those options for Complex Profiles
Hope it helps
Regards
Director @ BuilDigital
nando@buildigital.com.au
Using, Archicad Latest AU and INT. Revit Latest (have to keep comparing notes)
More and more... IFC.js, IFCOpenShell
All things Solibri and BIMCollab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-03-24 12:16 AM
Try this 3D script, or the object uploaded
IF GLOB_CONTEXT = 3 THEN palabra= "I'm in 3D" ENDIF IF GLOB_CONTEXT = 4 THEN palabra= "I'm in Section" ENDIF ROTX 90 text 1/100, 0, palabraTry the object attached,
Look at it in Floor plan....
Section / Elevation
3D window.
It will tell which viewpoint are you using.
Enjoy!
Director @ BuilDigital
nando@buildigital.com.au
Using, Archicad Latest AU and INT. Revit Latest (have to keep comparing notes)
More and more... IFC.js, IFCOpenShell
All things Solibri and BIMCollab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-03-24 12:22 AM
Director @ BuilDigital
nando@buildigital.com.au
Using, Archicad Latest AU and INT. Revit Latest (have to keep comparing notes)
More and more... IFC.js, IFCOpenShell
All things Solibri and BIMCollab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-03-24 09:11 AM
the usage and tricks about GLOB_CONTEXT and GLOB_SCALE are well known for me.
But the scale IS static. As I understood your first mail, one could use GLOB_SCALE to change LOD depending on distance to the viewpoint. And THIS would help very much in reducing model size. But can only decide between Detailed and raw, not between detailed foreground and raw background.
Thanks. I will add the point to selfGDL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-03-24 01:06 PM



- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-03-24 08:00 PM
With a combination of GLOB_SCALE and GLOB_CONTEXT, there is a potential to:
2-Improve the 3D window navigation speed (poy-count) without compromising the Drawing's quality. This is particularly useful in today's increasingly complex the models.
The idea of a Distance-Sensitive script is very interesting, it is fair to clarify that I did'n mention it.
The only way I see that script possible would be by using a combination of GLOB_EYEPOS, GLOB_TARGPOS and SYMB_POS. It would only work for Perspectives and not in section/elevation.
Would that be possible?... I will live it to you, you are the GDL magicians.
Director @ BuilDigital
nando@buildigital.com.au
Using, Archicad Latest AU and INT. Revit Latest (have to keep comparing notes)
More and more... IFC.js, IFCOpenShell
All things Solibri and BIMCollab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-03-24 09:33 PM
Thanks again for the idea. I may even have a use for it soon.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-03-25 01:19 AM
Some examples of this applied to a couple of facade objects - 1:500, 1:100 and 1:20
Really helps regen times on a big project ... its actually not possible to generate an overall elevation of our 45 story tower at 1:100 or less - 'Out of Memory' error and crash : ( ... < Which is BTW why 64bit Mac is so important for all those wondering why some people think this is such a big deal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2011-03-25 04:26 AM
owen wrote:Nice work. Definitely useful. Essential in your case it seems.
We use this LOD trick in most of our custom scripted objects now...
- « Previous
-
- 1
- 2
- Next »
- « Previous
-
- 1
- 2
- Next »