How to create your own CUI in AutoCAD

  Рет қаралды 16,802

Civil Tech Source

Civil Tech Source

Күн бұрын

Пікірлер: 97
@ibrahimpatel9006
@ibrahimpatel9006 2 жыл бұрын
Your video is very helpful for me Thanks a lot Jafar bhai
@CivilTechSource
@CivilTechSource 2 жыл бұрын
Thanks and welcome
@iionas
@iionas Жыл бұрын
Thanks for this mate, absolute superstar. Civl Eng here also!
@CivilTechSource
@CivilTechSource Жыл бұрын
You are welcome! Where are you based?
@iionas
@iionas Жыл бұрын
@@CivilTechSource Australia mate! How about you?
@CivilTechSource
@CivilTechSource Жыл бұрын
Nice!!! Based in England. It would be nice to have a chat and see who they do things in different countries.
@iionas
@iionas Жыл бұрын
@@CivilTechSource alright! Do you have a discord of sorts or maybe email to not make all your stuff public?
@iionas
@iionas Жыл бұрын
@@CivilTechSource I found you on linked-in ill shoot you a mesage!
@akulsingh7217
@akulsingh7217 2 жыл бұрын
Hi mate I have a question, I create toolbar for commands like, move, copy, rotate, extend. But how to create Scale viewports toolbar which include commands like, 1:100, 1:150, 1:250, 1:500, 1:1000, so that just with one click I can change the scale. Please answer my question ASAP. THANKS
@CivilTechSource
@CivilTechSource 2 жыл бұрын
The easiest way, without creating any custom command is to set up your dwg tempalte to have the scales already in and then when you create a viewport you can select what scale you want from the defined scales. Hope this helps
@kurramkhan613
@kurramkhan613 2 жыл бұрын
I want to create new layer but it should not be set as a current layer Please help me
@kurramkhan613
@kurramkhan613 2 жыл бұрын
I tried it's creating a new layer and also automatically set current layer I don't want that layer set as current layer ^C^C_.-LAYER_M TXT_C Red_LW 0.18; _L Continuous Please look at this
@kurramkhan613
@kurramkhan613 2 жыл бұрын
Please advise what should I do for not to set current layer
@CivilTechSource
@CivilTechSource 2 жыл бұрын
How about trying to add a macro to set the current layer to layer 0?
@kurramkhan613
@kurramkhan613 2 жыл бұрын
@@CivilTechSource ok Could you please help me
@kurramkhan613
@kurramkhan613 2 жыл бұрын
@@CivilTechSource this thing is new for me
@ibrahimpatel9006
@ibrahimpatel9006 2 жыл бұрын
LISP to explode block and make block again with the same name, Can I get this LISP Please
@CivilTechSource
@CivilTechSource 2 жыл бұрын
Just block the block again so you can use the explode command and then you will be left with the original block.
@davorinpotocnik5599
@davorinpotocnik5599 3 жыл бұрын
Very nice. Could you help me with this: I have a lot of lisp file and I want to make cui file which will put together all of these lips and icons for all of that lips will be shown in toolbar. And the same time the question is how to draw icons for lisp? Can I draw in autocad like dwg and then change to .bmp format (picture)? So, all lisp want to use by using toolbar palet. Thanks!
@CivilTechSource
@CivilTechSource 3 жыл бұрын
Hi Davorin, the first question is, does your AutoCAD loads up the CUI automatically once you start AutoCAD? Or do you manually start them? If so, the maybe you can find a way to use Appload command by creating a new CUI button. Now, in regards to creating the icons for it, you can draw them in AutoCAD and save them as BMP but you can also draw your own icons using the CUI command and you will see it on the right hand side. I have not personally explored this, but it is a very good idea for a next video! If this is not helpful then I found this link and might help you start solving your problem slowly. knowledge.autodesk.com/support/autocad/learn-explore/caas/sfdcarticles/sfdcarticles/Automatically-load-AutoLISP-routines.html Thanks for the support!
@davorinpotocnik5599
@davorinpotocnik5599 3 жыл бұрын
@@CivilTechSource hi. Thanks for your answer. Your video helped me to made cui file. Also helped me to drow my own commands for all lisps - I used icons on the right hand side. It's training version for now; so, I have cui file, icons in toolbar, all lips are loaded, but don't work as they should be work. I will try to fix that; if i will have some questions, I'll write to you. Best regards
@davorinpotocnik5599
@davorinpotocnik5599 3 жыл бұрын
Hi, I made toolbar with lisps. I have 5 lisps (for now); 4 of them works perfect. In near future I only must to make better icons. Only one lisp make me trouble. When I click on icon for that lisp, there is a message: "Cannot invoke (command) from *error* without prior call to (*push-error-using-command*). Converting (command) calls to (command-s) is recommended." Do you know what's the problem? BR
@CivilTechSource
@CivilTechSource 3 жыл бұрын
This will be dependent on what the actual lisp command does. It might needs altering in the code line. What does that lisp do?
@davorinpotocnik5599
@davorinpotocnik5599 3 жыл бұрын
@@CivilTechSource I tried this lisp to use on my office computer and it's work ok; in office I don't have ciu file and toolbars; only grap lisp and drop in autocad; so lisp is ok - maybe I made some mistake. Lisp is "Centerline between two polyline".
@ibrahimpatel9006
@ibrahimpatel9006 2 жыл бұрын
I have a question Is it possible providing shortcut key that block we made For eg: CO for copy
@ibrahimpatel9006
@ibrahimpatel9006 2 жыл бұрын
Thanks in advance brother
@CivilTechSource
@CivilTechSource 2 жыл бұрын
Hi, for autocad LT no reply. For full autocad if you create a lisp then yeah.
@ibrahimpatel9006
@ibrahimpatel9006 2 жыл бұрын
@@CivilTechSource Yes I have full version AutoCAD
@ibrahimpatel9006
@ibrahimpatel9006 2 жыл бұрын
@@CivilTechSource Could you please help me
@CivilTechSource
@CivilTechSource 2 жыл бұрын
forums.autodesk.com/t5/visual-lisp-autolisp-and-general/insert-block-lisp/m-p/6322777/highlight/true#
@ibrahimpatel9006
@ibrahimpatel9006 2 жыл бұрын
Jafar bhai could you make a detail video, how to insert block in CUI autocad
@CivilTechSource
@CivilTechSource 2 жыл бұрын
Hi Ibrahim, thanks for your comment. Unfortunately, I will not be making a video specific for the block in CUI as it is not a priority. However, obviously want to help you so see Macro command: *^C^C-insert;(Type Dwg name here);\;;;explode;last;-purge;Blocks;(Type Dwg name here);N; Please make sure that the file path where the Dwg is saved has been added to your support file path search in your settings. Hope this helps.
@ibrahimpatel9006
@ibrahimpatel9006 2 жыл бұрын
@@CivilTechSource thanks Jaffar bhai I got it thanks again
@kaackster
@kaackster 2 жыл бұрын
is the CUI available for purchase? If so, where can I find it.
@CivilTechSource
@CivilTechSource 2 жыл бұрын
Hi Kaackster, a drainage CUI is available now in the Civiltechsource website. civiltechsource.com/index.php/shop/ more CUI will be available soon!
@orhunpolat5805
@orhunpolat5805 9 ай бұрын
How can I create a panel like hatch pattern panel?
@CivilTechSource
@CivilTechSource 3 ай бұрын
Have not done this yet, but probably I would copy paste it from the current AutoCAD CUI
@JS-so8lu
@JS-so8lu 3 жыл бұрын
Hi, do you have anywhere we can download the button images you use on your CUI? Or can you please let me know the best way to design these if they are not available for my personal use? JS
@CivilTechSource
@CivilTechSource 3 жыл бұрын
Hi JS, actually I am in the process of putting together the whole CUI for sale. So if you have time to wait theb great if not, I manually draw all the button images.. not the most fun thing to do on a Monday night.
@JS-so8lu
@JS-so8lu 3 жыл бұрын
@@CivilTechSource Unfortunately as I am a poor uni student I won't be buying however do you use photoshop to draw them out and then just load them in?
@CivilTechSource
@CivilTechSource 3 жыл бұрын
You could use photoshop! I tried but got tired exporting and importing so draw them in autocad. The cui will be very affordable around £20. I am not a greedy corporation 😅
@ibrahimpatel9006
@ibrahimpatel9006 2 жыл бұрын
Hello Jafar Could you please provide Macro for channel and general notes Please one last time help me Please
@CivilTechSource
@CivilTechSource 2 жыл бұрын
Hi Ibrahim, i use the same one as I posted below.
@ibrahimpatel9006
@ibrahimpatel9006 2 жыл бұрын
@@CivilTechSource ok What about channel strech or extend macro I' m not use code before If you write macro here It will beneficial for me
@ibrahimpatel9006
@ibrahimpatel9006 2 жыл бұрын
@@CivilTechSource thanks brother
@CivilTechSource
@CivilTechSource 2 жыл бұрын
Hi Ibrahim, the channel stretch is a dynamic block. You can see examples online how to create this. Or you can pur have my drainage cui from my website which comes with all the drainage blocks.
@patrice373
@patrice373 3 жыл бұрын
High level, well explained
@CivilTechSource
@CivilTechSource 2 жыл бұрын
Thanks!
@ibrahimpatel9006
@ibrahimpatel9006 2 жыл бұрын
Is it possible to create shortcut command for insert block
@CivilTechSource
@CivilTechSource 2 жыл бұрын
Yes, using lisp.
@ibrahimpatel9006
@ibrahimpatel9006 2 жыл бұрын
@@CivilTechSource I have used this lisp (defun c:COM () (command "insert" "Comp"))
@ibrahimpatel9006
@ibrahimpatel9006 2 жыл бұрын
@@CivilTechSource but the results of both block are different for e.g. block name is different, layer changed automatically
@ibrahimpatel9006
@ibrahimpatel9006 2 жыл бұрын
@@CivilTechSource i have created block in my c drive and insert that block using through CUIX but i want shortcut command too
@ibrahimpatel9006
@ibrahimpatel9006 2 жыл бұрын
@@CivilTechSource for shortcut command I used below command (defun c:COM () (command "insert" "Comp"))
@ibrahimpatel9006
@ibrahimpatel9006 2 жыл бұрын
I have created block and that block I have use as a insert block. For insert block I prefer CUIX.File and VLSIP. Through CUIX I have set symbol in Autocad ribbon and the same block used through LISP for shortcut command. When I used through CUIX I got correct block layer properties. I mean I have created in "xyz" layer. Using through CUIX I got the same layer in my new drawing. If even my current layer is 0 but they still put "xyz" layer in my new drawing. This is correct for me. When I use LISP shortcut command for the same insert block. If my current layer is "ABCD" then block properties has changed automatically. The layer of blocks has changed into current layer. I don't want inserted block in current layer, I want inserted block should keep their own properties
@CivilTechSource
@CivilTechSource 2 жыл бұрын
The insert block command will always tend to insert the block in the current layer. Therefore, you have two options: A) In the Lisp add a command to add the layer that you want and set it as current. or B) Create a new Block with the Block inside of it and add a command to explode the block. This way the dummy block will come on Layer 0 and exploded that would be gone and the original block should have the layer that it was set on.
@ibrahimpatel9006
@ibrahimpatel9006 2 жыл бұрын
@@CivilTechSource I have already pasted LISP and CUIX macro. But that comments not shown in this section. Shall I send LISP and CUIX on your email.
@ibrahimpatel9006
@ibrahimpatel9006 2 жыл бұрын
@@CivilTechSource shall I send the email on your email id
@ibrahimpatel9006
@ibrahimpatel9006 2 жыл бұрын
@@CivilTechSource could you please help me in Option A I will send my lisp on your email ID
@Seltos-Jagat
@Seltos-Jagat 3 жыл бұрын
Great Job Bro, But I want to ask a question, It Can be possible to convert any item block into a Single Command.?
@CivilTechSource
@CivilTechSource 3 жыл бұрын
Thank you, do you mean inserting a block using a command line on the keyboard?
@Seltos-Jagat
@Seltos-Jagat 3 жыл бұрын
@@CivilTechSource Right. Is it possible?
@CivilTechSource
@CivilTechSource 3 жыл бұрын
Yes, I know it possible in autocad full version.
@Seltos-Jagat
@Seltos-Jagat 3 жыл бұрын
@@CivilTechSource Ok could you do this for me ? For It I am ready to pay you.
@CivilTechSource
@CivilTechSource 3 жыл бұрын
Hi Jagat, for any enquries please email me at ferdijafar.engineering@gmail.com to discuss further.
@kishorvaidya8526
@kishorvaidya8526 3 жыл бұрын
Thanks
@CivilTechSource
@CivilTechSource 3 жыл бұрын
You are welcome!
@dirtymind6553
@dirtymind6553 2 жыл бұрын
man thank you
@CivilTechSource
@CivilTechSource 2 жыл бұрын
No worries!
@herialsua7982
@herialsua7982 11 ай бұрын
.
@CivilTechSource
@CivilTechSource 10 ай бұрын
.
@Cameron-kk4kh
@Cameron-kk4kh 2 жыл бұрын
Thanks
@CivilTechSource
@CivilTechSource Жыл бұрын
Welcome
Customizing AutoCAD: Creating Custom Command Macros
12:01
Between CAD Classes
Рет қаралды 7 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Making custom command panel in AutoCAD
13:32
SourceCAD
Рет қаралды 13 М.
AutoCAD Geolocation - How to create quickly your site location plan
6:57
Civil Tech Source
Рет қаралды 58 М.
Automating tasks using Macros in AutoCAD
17:36
SourceCAD
Рет қаралды 84 М.
AutoCAD Creating a Partial CUI
12:45
Autodesk Developer Partner Channel
Рет қаралды 17 М.
AutoCAD Dynamic Block - North Arrow
14:35
Civil Tech Source
Рет қаралды 9 М.
Introduction to CUI File Handling
17:31
IMAGINiT Technologies
Рет қаралды 1,7 М.
i dove down the 7zip rabbit hole (extremely deep)
12:50
Low Level
Рет қаралды 559 М.
Spin Gravity Compared
12:12
Overview Effect
Рет қаралды 1 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН