Author Topic: Compiling to VLX  (Read 211 times)

ScottBolton

  • Member
  • *
  • Posts: 29
Compiling to VLX
« on: April 23, 2018, 06:23:09 AM »
One thing I notice from the DistSample examples is that the VLX file has the same name as the odcl. Is it possible to have ALL.VLX that contains a compiled DistSample1.odcl and DistSample2.odcl?

If so, how do I modify (_Load_ODCL_Embedded_Project (strcat LOAD_flag ".odcl") nil nil)?

Fred Tomke

  • OpenDCL Technician
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2023
  • [ Mr. Bad Guy ]
    • Kommunale Entwicklungsplanung auf digitaler Basis - digital landscape and urban design
Re: Compiling to VLX
« Reply #1 on: April 23, 2018, 10:23:26 AM »
Hi, save both projects as different *.odcl.lsp-files to compile them as different resources and load them afterwards using dcl-project-import.
Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

ScottBolton

  • Member
  • *
  • Posts: 29
Re: Compiling to VLX
« Reply #2 on: April 24, 2018, 01:12:52 AM »
Hi, Fred.

So just to clarify, "compile them as different resources" - I have to have a separate VLX for each odcl.lsp file. Is it not possible to compile several odcl.lsp files into one VLX, as we can do with "normal" lsp files?

S

ScottBolton

  • Member
  • *
  • Posts: 29
Re: Compiling to VLX
« Reply #3 on: April 25, 2018, 02:08:39 AM »
Anybody?

Fred Tomke

  • OpenDCL Technician
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2023
  • [ Mr. Bad Guy ]
    • Kommunale Entwicklungsplanung auf digitaler Basis - digital landscape and urban design
Re: Compiling to VLX
« Reply #4 on: April 25, 2018, 12:10:53 PM »
Hello, I still believe, I haven't understand you.
Please have a look at the sample I attached.
This project contains two different projects, loaded at runtime.
Hope that comes closer to your needs.

Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

ScottBolton

  • Member
  • *
  • Posts: 29
Re: Compiling to VLX
« Reply #5 on: May 03, 2018, 06:00:41 AM »
Thanks, Fred. It was the (strcat ".odcl.lsp") that I was missing.

S