question

Joris Van Poucke avatar image
0 Likes"
Joris Van Poucke asked Phil BoBo answered

Bug with AVG path on .dwg background

I have import a .dwg as a background. This works fine, and gives a nicely figure with sharp drawing (first figure). However, as soon as I place an AVG path in my model (so on the background), the lines of the background get thicker. However this is unwanted, because they get less readable.

Bug? (I use 17.0.3 daily, but it's also in 17.1.1)

without avg path --------------- with avg path

FlexSim 17.0.3
backgroundavg
without-avg.png (2.3 KiB)
with-avg.png (2.4 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Phil BoBo avatar image
3 Likes"
Phil BoBo answered

This is a bug in the AGV draw code that is changing the OpenGL state and not returning it to its original state. I'll fix this for the next bug-fix release.

In the meantime, you can fix it within your model by following these steps:

  1. Double-click on your Model Background to open the Background Drawing Wizard window.
  2. Press the Properties button in the bottom-left corner.
  3. On the Triggers tab, edit the Custom Draw code.
  4. Add the code below.
  5. Apply the code window and the Properties window.
#define GL_LINE_SMOOTH 0x0B20
fglDisable(GL_LINE_SMOOTH);
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.