Author Topic: Sample off a ODCL  (Read 16277 times)

0 Members and 1 Guest are viewing this topic.

Atwist

  • Guest
Sample off a ODCL
« on: May 16, 2011, 11:29:24 AM »
Hello all,

Have anyone a sample of a simple lisp whit a ODCL, so I can look how to build en start this. :roll:

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: Sample off a ODCL
« Reply #1 on: May 16, 2011, 11:31:01 AM »
Hello all,

Have anyone a sample of a simple lisp whit a ODCL, so I can look how to build en start this. :roll:
The ODCL download has a dozen or so samples.
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Sample off a ODCL
« Reply #2 on: May 16, 2011, 12:48:49 PM »
The ODCL download has a dozen or so samples.

this
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: Sample off a ODCL
« Reply #3 on: May 16, 2011, 01:12:18 PM »
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Sample off a ODCL
« Reply #4 on: May 16, 2011, 01:22:24 PM »
This what?

that
 |
 |
 ▼


The ODCL download has a dozen or so samples.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Atwist

  • Guest
Re: Sample off a ODCL
« Reply #5 on: May 16, 2011, 01:29:16 PM »
Thanks Matt,

I've found
but I'm looking for a code with a button to start a prog.
Button1 load "cl.lsp" and start "cl"
BTW I'm new to opendcl

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: Sample off a ODCL
« Reply #6 on: May 16, 2011, 01:42:25 PM »
Thanks Matt,

I've found
but I'm looking for a code with a button to start a prog.
Button1 load "cl.lsp" and start "cl"
BTW I'm new to opendcl
Just put this behind a button:  (load"cl.lsp");cl;

To break it down...

(load"cl.lsp")  -- Loads the Autolisp program CL.LSP
;                 -- Return (similar to pressing RETURN on the keyboard)
cl                -- Start your LSP program (similar to typing LINE to start the line command)
;                 -- Another return to execute the command
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Sample off a ODCL
« Reply #7 on: May 16, 2011, 01:46:25 PM »
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Sample off a ODCL
« Reply #8 on: May 16, 2011, 01:48:02 PM »
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Sample off a ODCL
« Reply #9 on: May 16, 2011, 01:48:32 PM »
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Sample off a ODCL
« Reply #11 on: May 16, 2011, 01:48:55 PM »
fate
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Sample off a ODCL
« Reply #12 on: May 16, 2011, 01:50:13 PM »
late by 7 seconds

that's wut she said

Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Sample off a ODCL
« Reply #13 on: May 16, 2011, 01:51:36 PM »
bazinga!
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Sample off a ODCL
« Reply #14 on: May 16, 2011, 01:52:04 PM »
lol, avatar approved
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Sample off a ODCL
« Reply #15 on: May 16, 2011, 01:53:13 PM »
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

Atwist

  • Guest
Re: Sample off a ODCL
« Reply #16 on: May 16, 2011, 01:54:01 PM »
Thanks Matt,

But this code is for a dcl not for opendcl,or I'm wrong.
I have a make a textbutton
Code: [Select]
(defun c:start_Start_Tekstlayer25_OnClicked (/)
  (dcl_MessageBox "To Do: code must be added to event handler\r\nc:start_Start_Tekstlayer25_OnClicked" "To do")
)
But where put I the code to start the lisp.
I'm do not find in the samples of opendcl.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Sample off a ODCL
« Reply #17 on: May 16, 2011, 01:55:12 PM »
But where put I the code to start the lisp.

start here
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Atwist

  • Guest
Re: Sample off a ODCL
« Reply #18 on: May 16, 2011, 02:01:06 PM »
Thanks MP,

But this is not what I'm looking for.
I'm need a simple answere on my Question, or is that a problem

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: Sample off a ODCL
« Reply #19 on: May 16, 2011, 02:06:35 PM »
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Sample off a ODCL
« Reply #20 on: May 16, 2011, 02:07:22 PM »
Thanks MP,

But this is not what I'm looking for.
I'm need a simple answere on my Question, or is that a problem

Unless my crystal ball is in need of a battery upgrade you do not have a simple question. You currently have one seemingly simple question based upon no experience with OpenDCL, but as you foray into OpenDCL dev't you will have many many more questions. Based on that assumption you would highly benefit from working thru the tutorial a couple times, writing a couple modest applications based on the tutorial samples and then come back and ask questions to cement you knowledge. If however you are not capable of working thru tutorials no amount of serial question posting herein will help you. Candidly yours, MP.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: Sample off a ODCL
« Reply #21 on: May 16, 2011, 02:09:37 PM »
Thanks MP,

But this is not what I'm looking for.
I'm need a simple answere on my Question, or is that a problem

Unless my crystal ball is in need of a battery upgrade you do not have a simple question. You currently have one seemingly simple question based upon no experience with OpenDCL, but as you foray into OpenDCL dev't you will have many many more questions. Based on that assumption you would highly benefit from working thru the tutorial a couple times, writing a couple modest applications based on the tutorial samples and then come back and ask questions to cement you knowledge. If however you are not capable of working thru tutorials no amount of serial question posting herein will help you. Candidly yours, MP.

HIP! HIP!  FORAY!!!
HIP! HIP!  FORAY!!!
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

Atwist

  • Guest
Re: Sample off a ODCL
« Reply #22 on: May 16, 2011, 02:18:06 PM »
I thought I was sitting in a forum opendcl.  :ugly:
But it is a forum for fun people :cry: :cry: :cry:

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Sample off a ODCL
« Reply #23 on: May 16, 2011, 02:21:42 PM »
Brother I'm just trying to help you get to your objective the best and fastest way possible, sorry you don't interpret it that way.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: Sample off a ODCL
« Reply #24 on: May 16, 2011, 02:22:44 PM »
And it kinda sounds like you need help creating a custom toolbar so I provided a link for that.  Baby steps... baby steps.
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io