designing/moving windows in a house

Started by bobl, June 18, 2014, 03:31:14 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

samdavo


prl

This is funny, sort of, since I don't remember doing this.  Is that a bad sign?

http://forum.designcad.com/index.php?topic=250.msg983#msg983

bobl

#197
>Is that a bad sign?
I suspect it reflects a very high contribution rate.
Anyway....tried it out and.....it's much better than what I was asking for.
In fact it's.......FFFantastic!
Thank you very much indeed for this.

prl

Here is what I was looking for.  When using the command line, there is a hierarchy of what comes first, second, third

When you hit the command line (spacebar) and type a command,

1.  DesignCAD looks for the native command (DcMaxCmd.ini).  The native command names are matched to several alias names for the command name using Macrocmd.ini, CmdList.ini, and Custom.ini.

2.  Lastly DesignCAD looks for a command name alias (custom.ini)

3.  DesignCAD looks for a *.exe of that name.  (It will use the exectuables file path you have set)

4.  DesignCAD looks for a *.d3m or *.bsc of that name.  (It will use the macros file path you have set)

bobl

I'm very pleased to see that tick works in Custom.ini suggesting that there is no such alias in Macrocmd.ini or CmdList.ini...otherwise presumably they'd trap and "hijack" it. Phew!

Thank you for explaining the sequence.

prl

#200
Quote from: bobl on July 03, 2014, 07:21:07 AM
I'm very pleased to see that tick works in Custom.ini suggesting that there is no such alias in Macrocmd.ini or CmdList.ini...otherwise presumably they'd trap and "hijack" it.

Dean, they are there.  All DesignCAD *.ini files are text files, so just open them up and see what they say.  But if it is already working, great.

I misread your note.  Macrocmd gives alias names for macro commands.  CmdList gives alias names for menus.

The primary (as in first in the list) alias is always the ID_POINT_RELATIVE, for example.  It is linked to a windows message (SendMessage(DcApp.HWnd, WM_COMMAND, 10129, 0).  In this case,  ID_POINT_RELATIVE = 10129.   All the others alias names are linked to the ID_POINT_RELATIVE string.   

Pretty neat and simple once you get it.


bobl

Yes I see what ID_ is now and thanks for the explanation.

prl

#202
Quote from: bobl on July 03, 2014, 08:36:27 AM
Yes I see what ID_ is now and thanks for the explanation.

And as a Delphi fiddler, also means if you find the HWnd handle for the DesignCAD application, you can send your own messages to DC.   :)

Also, you get the longest new guy thread award, thanks to folks like me and a few others that can talk about anything.

bobl

#203
>As a Delphi fiddler
Yes...I've "done a bit" :)

>Also, you get the longest new guy thread award.
I've been laughing about this for approx 5 minutes solid.
Without you and your compardres I'd have struggled with DC.
Not because it's hard but because I've been on a real timetable without any familiarity whatsoever.
As a result of your collective help/unselfishness/crash course
and the thought/design that has gone on into DC's features
I feel like I'm flying now and will be able to test out my ideas in double quick time (despite only scratching the surface).

I'm delighted with both DC and this forum.
It's an absolute pleasure to be part of your community and although I'll need to put DC down for a bit soon to implement this stuff (my bricklaying's so slowWWW)...I'll be back 'cos there's loads more to design :)

Thank you very much indeed for making me productive with this fantastic tool in very short order.

samdavo

#204
Dean-bob,
you ain't seen nothin' yet.
Here are some png's of a bedroom on stilts that adriank (another bludy genius) kindly gave permission to play with and post.
Note the shadows through the blinds.  (and the convenient pool).   That zooming in is just playing around with view distance by the way.

As for laying bricks, don;t do what I did and get half way up the wall before you realise you'd forgotten the damp-proof course at the bottom (which had to be then retrofitted, first cutting the mortar from one side, then the other etc etc .  :)

prl,
to ensure I don't forget the code, I'm thinking of calling that command prl for point relative line.  or maybe just PL, (Point re-L-ative), since
a) P and L are close together (thinking like a piano player here)
b) and close to (') so that when I head to that part of the keyboard subconsciously, it is not a big change of habit to go for PL instead.

maybe
PL = Point re-L-ative
PO = Point from Origin
PP = Point Polar

Dean,
I posted a walkthrough of that bedroom-in-the-sky here  (reply #44) - which incidentally uses dbeck's fantastic vdd.d3m macro for manipulating viewing angles and distances etc.  (2 cents).   "Alps on alps arise" as they say.
http://forum.designcad.com/index.php?topic=5522.msg37951#msg37951

prl

#205
Quote from: samdavo on July 03, 2014, 11:59:11 AM
b) and close to (') so that when I head to that part of the keyboard subconsciously, it is not a big change of habit to go for PL instead.

Sam, thanks for the honor, but for me even typing pr is too long, so my alias is '.  May confuse some folks having to do spacebar ' spacebar 5,3,15.  But most important is that I don't see the point relative dialog, ever, except when I make these little videos for folks.

Edit: And in case it is coming across that DesignCAD is somehow flawed because of the point relative dialog command, it isn't.  The tremendous flexibility DesignCAD offers in terms of command line inputs AND GUI inputs is priceless.

samdavo

#206
prl
I'm guessing that you automatically override the standard hotkey (')  when you use custom.ini (?)   Or do you simply decommision that in keyboard settings?

H0owever I'm thinking I might leave (') there as the default hotkey in case (long shot) I need "from reference point" although personally I never use that either. (and "from cursor" is just a nuisance).


(edit - doh,   with spacebar in front of it , it is automatically changed anyways :)  ignore previous sentences)

Final quick comment but I'm having trouble saving custom.ini after I change it.   I suspect I have to log on as administrator, and for some weird reason, I'm having trouble doing that.  (?)

prl

Quote from: samdavo on July 03, 2014, 01:05:24 PM
you automatically override the standard hotkey (')  when you use custom.ini (?)   Or do you simply decommision that in keyboard settings?

No, it is still there.  Try this, hit space bar (that brings up the command line, then type ' then add a space and enter 5,3,15).  You have both.

prl

#208
And once you have the  "space bar ' space bar ' sequence, realize I use autohotkey to boil that down into one keystroke so it brings me to the position in the dialog to simply enter the offsets.  You sure want to keep going?  I don't mind talking about it, but I'm sure this is a puzzle for many.

And to bring the mind puzzle to an end, the DesignCAD specific autohotkey I use to fire the "space bar ' space bar ' sequence is the ` (the key below the tilde above the left tab).

The keyboard journey I've described mimics the original DOS command line point relative command.

samdavo

Quote from: prl on July 03, 2014, 01:12:36 PM
And to bring the mind puzzle to an end, the DesignCAD specific autohotkey I use to fire the "space bar ' space bar ' sequence is the ` (the key below the tilde above the left tab).
I note there is a tutorial on autohotkeys - might check it out.  To be honest I have stayed away from them thinking ( perhaps wrongly) that, because they override everything, then my macros and other hotkeys might get messed up ( 2 cents)

(But I still have problem changing custom.ini due to administrator rights - rats !  )   (WIN 7)