Author Topic: Group Project: Change item(s) to Layer [Discussion]  (Read 27062 times)

0 Members and 1 Guest are viewing this topic.

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Group Project: Change item(s) to Layer [Discussion]
« Reply #45 on: April 20, 2011, 04:29:31 PM »
I especially like the one on the left...

Fonts are ugly, but this was quickly thrown together before I leave to go get my kid.
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: Group Project: Change item(s) to Layer [Discussion]
« Reply #46 on: April 20, 2011, 04:53:16 PM »
I agree about being on line, if the help documents arnt all there, you wont be able to see images, hyperlinks wont work, etc..
little confused about the SVN thing, I think I understand the procedure file, but I'm getting a page error when I go to tortisesvn.tigris.org

Se7en, When you refer to the AutoCAD help not being structured well, are you referring to the later versions, or some of the earlier ones, or both?

Whoopsie, that should be tortoisesvn.tigris.org.  Updated.
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

JohnK

  • Administrator
  • Seagull
  • Posts: 10605
Re: Group Project: Change item(s) to Layer [Discussion]
« Reply #47 on: April 20, 2011, 06:59:21 PM »
Here is my 5 minute attempt.

I was going for "hand written".


EDIT: But i dont like the "7" so...
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

Lee Mac

  • Seagull
  • Posts: 12906
  • London, England
Re: Group Project: Change item(s) to Layer [Discussion]
« Reply #48 on: April 20, 2011, 07:31:04 PM »
*shrug* tweaked mine.

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Group Project: Change item(s) to Layer [Discussion]
« Reply #49 on: April 20, 2011, 07:38:36 PM »
Am I too assume I'm being ignored or was my post just lost in logo talk?

Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

JohnK

  • Administrator
  • Seagull
  • Posts: 10605
Re: Group Project: Change item(s) to Layer [Discussion]
« Reply #50 on: April 20, 2011, 08:14:25 PM »
I'm sorry I thought we were brainstorming.

I don't really mind any of them...I just tossed something together to help spur ideas (i thought that's what we were doing).
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Group Project: Change item(s) to Layer [Discussion]
« Reply #51 on: April 20, 2011, 09:17:44 PM »
I'm sorry I thought we were brainstorming.

I don't really mind any of them...I just tossed something together to help spur ideas (i thought that's what we were doing).
Oh no, not the logo, my post about the code structure (I linked it in the text "my post"). Sorry, should have been more direct.

http://www.theswamp.org/index.php?topic=37930.msg430185#msg430185
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

JohnK

  • Administrator
  • Seagull
  • Posts: 10605
Re: Group Project: Change item(s) to Layer [Discussion]
« Reply #52 on: April 20, 2011, 10:12:11 PM »
I apologize Chris; I totally missed your question about the old or new help docs...I didn't mean to.

here's how I see it; you have more to say than I do about the docs because that is an area of development that I'm not that good at. however when I think of development documentation I think of the BSD developers. go to NetBSD.org and look for the manual. it is HUGE. I've heard that they spend 2 hrs on docs for every hr of coding.

we can toss around ideas about any style you like.

EDIT:
Here is a direct link to the NetBSD Guide (NetBSD is an operating system if you didnt know).
[ http://netbsd.org/docs/guide/en/netbsd.html ]
« Last Edit: April 20, 2011, 10:36:13 PM by Se7en »
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

JohnK

  • Administrator
  • Seagull
  • Posts: 10605
Re: Group Project: Change item(s) to Layer [Discussion]
« Reply #53 on: April 20, 2011, 10:31:13 PM »
Wouldn't it make more sense to:
  • Check validity of selection as it's executed (eg. if or cond)
  • create layer list and feed it to dialog selection
  • iterate through selection set and put objects on defined layer
... <snip>...

Yeah, that does make more sense. That would make error trapping a bit easier (not that it was going to be difficult to begin with).  -e.g. all sub functions return a something or nil (okay, that example-error-statement sounded way better in my head --I need sleep-).
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

jbuzbee

  • Swamp Rat
  • Posts: 851
Re: Group Project: Change item(s) to Layer [Discussion]
« Reply #54 on: April 21, 2011, 10:04:11 AM »
Hey Lee,  are you gonna use subs for your DCL events?  Meaning you call a sub that gets a list of Layers in the Active Drawing, not include that code in the DCL control code?  Does that make sense?  If so then I can easily create an OpenDCL option for the project. 

Let me know, thanks!

jb
James Buzbee
Windows 8

Lee Mac

  • Seagull
  • Posts: 12906
  • London, England
Re: Group Project: Change item(s) to Layer [Discussion]
« Reply #55 on: April 21, 2011, 10:06:36 AM »
Hey Lee,  are you gonna use subs for your DCL events?  Meaning you call a sub that gets a list of Layers in the Active Drawing, not include that code in the DCL control code?  Does that make sense?  If so then I can easily create an OpenDCL option for the project.

I've never used ODCL before, but I understand what your saying and yes, I've structured the GetLayerSelection sub to accept a list of layer names and return the selected one - hence all is generic and nothing is hard-coded.

:-)

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Group Project: Change item(s) to Layer [Discussion]
« Reply #56 on: April 21, 2011, 10:07:07 AM »
Hey Lee,  are you gonna use subs for your DCL events?  Meaning you call a sub that gets a list of Layers in the Active Drawing, not include that code in the DCL control code?  Does that make sense?  If so then I can easily create an OpenDCL option for the project. 

Let me know, thanks!

jb
Cool idea!
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

jbuzbee

  • Swamp Rat
  • Posts: 851
Re: Group Project: Change item(s) to Layer [Discussion]
« Reply #57 on: April 21, 2011, 10:12:58 AM »
OK, cool.  I'll have a look back at the entire discussion(s) to see you guys are structuring this (SVN?)

I'm thinking a very minimal modeless form with no title bar, displayed at the cursor location, and utilizes a MouseMovedOff event to close.

When I get something working I'll post an example . . ..
James Buzbee
Windows 8

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Group Project: Change item(s) to Layer [Discussion]
« Reply #58 on: April 21, 2011, 10:16:25 AM »
OK, cool.  I'll have a look back at the entire discussion(s) to see you guys are structuring this (SVN?)

I'm thinking a very minimal modeless form with no title bar, displayed at the cursor location, and utilizes a MouseMovedOff event to close.

When I get something working I'll post an example . . ..
Fantastic idea. Much easier to have it by the cursor.

:evil:
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

jbuzbee

  • Swamp Rat
  • Posts: 851
Re: Group Project: Change item(s) to Layer [Discussion]
« Reply #59 on: April 21, 2011, 10:34:03 AM »
Oh crap!!
James Buzbee
Windows 8