Reply To: DESCTIVATING A CUTPLANE FROM 2D SCRIPT or similar method

Home Forums Problems and solutions in GDL 3D modelling DESCTIVATING A CUTPLANE FROM 2D SCRIPT or similar method Reply To: DESCTIVATING A CUTPLANE FROM 2D SCRIPT or similar method

#4533
Barry Kelly
Participant

So I need this, either:
a) A condition that can deactivates the CUTPLANE in the “3D script” when the user asks for an elevation view on Plan.

I assume the showing of the elevation in plan view is a parameter option.
I would then do this.

if elevation_in_plan = 1 and GLOB_VIEW_TYPE = 2 then				!Plan view
!!!!do nothing
else
      CUTPLANE 0, cutplane_height
endif

... 3D model script ...

if elevation_in_plan = 1 and GLOB_VIEW_TYPE = 2 then				!Plan view
!!!!do nothing
else
      CUTEND
endif

I am sure it could be scripted differently.

Barry.

Versions 6.5 to 22
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit