Developer forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

2D View Issue

Hello,I just recently started figuring out the basics for GDL scripting. From what I've read, if there is no 2D script, then the 2D symbol is what should be displayed in the 2D view. For a recessed light fixture, I deleted the 2D script and drew the ...

NCS Indicator -- Revised

I am writing a Add-On to just place a NCS Indicator Label. Unfortunately the code will only place the default label and ignores anything else. I can't figure this out because, using the exact same code, -- just changinge the type ,index, guid etc. it...

Element Bodies: Meshes, Tessellated meshes, Nurbs.

Hi!I am looking to extract triangles out of a ModerAPI::Element.I see 3 methods:GetTessellatedBody/Count()GetMeshBody/Count()GetNurbsBody/Count()What do these return exactly? Does the GetTessellatedBodyCount return the number of mesh+nurbs bodies?In ...

NCS Indicator Label

I am looking for an example of creating and applying the NCS Indicator label, The element test example only demos the basic text label and following that pattern gives the error RefusedCMD. I can find the library part NCS Indicator but after that not...

Resolved! Leaf thickness for door marker

I'm trying to make a custom door marker. One piece of information I want to use is the door leaf thickness. I have been trying to wade through the door script to find out what the parameter might be called with no success. I am looking for the parame...

Looking for tutorial on MVO Minimal Space

Hi,I haven't found any tutorial about how to use Minimal Space in MVO. I just want to see a simple cube surrounded by the line/fill representing the Minimal Space and how to program that in GDL so that MVO recognizes it. If you know a tutorial please...

RGB fills

Hi!I can create RGB fills by exploding a pdf file which includes colored fills. Sorting them by color seems to be impossible, or am I wrong? Anyway it would be nice to create RGB fills in 2d script in same way as You can define material in 3d script....

Elements vs Lights

Hi. I'm confused about how to treat lights. I use the ModelerAPI.From the model, I can get a list of all elements (walls, stairs, windows, doors, handrails, etc) and get their GUIDs. There is also an element of type LightElement, so that's great.From...