DCL help needed

DCL help needed

My_Civil_3D
Advocate Advocate
496 Views
6 Replies
Message 1 of 7

DCL help needed

My_Civil_3D
Advocate
Advocate

Hi guys i am creating buttons that will insert blocks. But for some reason the dcl keeps on leaving a space in between buttons, how can i avoid this:

 

dominiqueS4ANP_0-1682748480443.png

 

picture_dcl1

:dialog
{label = "DRA STANDARDS";

:row
{
	:boxed_column
	{
	label = "ARROWS";
	:button{key = "BtnNorth";label = "NORTH ARROW";value = "0";}
	:button{key = "BtnFallSlope";label = "FALL / SLOPE";value = "0";}
	:button{key = "BtnFlowDirection";label = "FLOW DIRECTION";value = "0";}
	:button{key = "BtnDirection";label = "DIRECTION ARROW";value = "0";}
	:button{key = "BtnLevelArrow";label = "LEVEL ARROW";value = "0";}
	}
	:boxed_column
	{
	label = "HEADERS";
	:button{key = "LayoutHeader";label = "LAYOUT HEADER"; value = "0";}
	:button{key = "SectionHeader";label = "SECTION / DETAIL HEADER"; value = "0";}
	}


}
ok_only;
}

 

Civil 3D Certified Professional
0 Likes
497 Views
6 Replies
Replies (6)
Message 2 of 7

paullimapa
Mentor
Mentor

add these for row:

picture_dcl1 : dialog {
    label = "DRA STANDARDS";
    : row {
        children_alignment = top;
        children_fixed_height = true;

Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 3 of 7

My_Civil_3D
Advocate
Advocate

thank you sir this worked perfectly, i have been looking around to find more detailed guides and info regarding the dcl in general i cant find any real info, do you perhaps know where i can find more study material regarding dcl?

Civil 3D Certified Professional
0 Likes
Message 4 of 7

paullimapa
Mentor
Mentor

You are very welcome 

For me learning dcl is just lots of trials and error. So experience is gained by just doing it and of course looking at existing dcl to see how others have done it. But you probably know of the famous afar lisp site that gives a great start on learning dcl

https://www.afralisp.net/archive/index.htm

Then there are others online as well like

https://autolisp-exchange.com/Tutorials/MyDialogs.htm
Doing a search online for “autolisp dcl reference” would also get good results 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 5 of 7

Sea-Haven
Mentor
Mentor

My $0.05 old fashioned menu.

 

SeaHaven_0-1682830937334.png

 

0 Likes
Message 6 of 7

paullimapa
Mentor
Mentor

I also still use the menu method for hatch pattern selections categorized by various materials:

paullimapa_0-1682831111726.png

 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 7 of 7

Sea-Haven
Mentor
Mentor

Yep if you can use notepad you can make a choose menu no real programming skill required.

0 Likes