All Activity
- Past hour
-
All image tiles.. nothing too fancy.. the time was spent creating each letter as an image Letter Coordinates.lsp
- Today
-
[LISP plugin] Omni Wheel-a custom radial menu tool
VicoWang replied to VicoWang's topic in AutoLISP, Visual LISP & DCL
-
[LISP plugin] Omni Wheel-a custom radial menu tool
BIGAL replied to VicoWang's topic in AutoLISP, Visual LISP & DCL
No Gif. Use window+shift+r thats windows built in recorder. -
Why does the same CAD drawing behave differently on two computers?
BIGAL replied to indiancad's topic in AutoCAD 2D Drafting, Object Properties & Interface
If you use Etransmit it will add extra files to what is exported, in particular say custom fonts and xrefs. -
[LISP plugin] Omni Wheel-a custom radial menu tool
VicoWang replied to VicoWang's topic in AutoLISP, Visual LISP & DCL
I tried to fix the demo file, can you see that GIF? This plugin does not provide the source code. -
@SLW210, yes well aware of using VBA forms rather than DCl a much better way for input dialogs, running VBA is pretty easy load the dvb then run the sub function. The only thing is must have the VBA runtime installed, which is a separate install in Acad. It is interesting though that a few years ago now Autodesk announced they would be discontinuing support for VBA but it is still there, I think the powers to be thought every one would jump onto .NET. @Steven P can you post code would like to try in Bricscad. The idea was based on a forum request to see your different text styles in a dcl.
- Yesterday
-
Steven P started following [LISP plugin] Omni Wheel-a custom radial menu tool
-
[LISP plugin] Omni Wheel-a custom radial menu tool
Steven P replied to VicoWang's topic in AutoLISP, Visual LISP & DCL
Could you put up a screen shot so we know what you want us to download - i'm very sceptical about just down loading unknown files. Better again would be the code to look at first of course. -
VicoWang started following [LISP plugin] Omni Wheel-a custom radial menu tool
-
[LISP plugin] Omni Wheel-a custom radial menu tool
VicoWang posted a topic in AutoLISP, Visual LISP & DCL
This is a radial menu tool that can be configured with up to 18 custom commands, accessed by double-clicking with the mouse. Installation method (upgradable in the future): [Omni Wheel] VCID: US87Y8 @ VedaCAD Note: To install via VCID, you need to install VedaCAD in advance and log in to a free account (or PRO account). -
Steven P started following Update to the creation of DCL's
-
Don't know about that.... ...not easy but because it was a quiet Christmas week last time... and if we can insert image buttons, we can insert custom button shapes: (just realised I have shamelessly not credited RLX? with the mouse) Suspect the same as SWL though, I'd be surprised if anything changes. BricsCAD is likely to maintain compatibility with AutoCAD and not go too far away... so 'BricsCAD' DCLs will work as 'AutoCAD' DCLs Colours and fonts would be handy... which is why I made up the first one, though Bold and Italic might be a better first step, and multiline text (I have a few with filepaths displayed where word wrapping would save me a few lines of coding). Not sure what else, but I am sure to think of something over the net week or so to add
-
mostar joined the community
-
You can handle that by separating the prefix from the numeric part of the ADDRESS attribute and sorting on the components rather than treating the whole value as a plain string. For example, L1-001, L1-002, L1-010 should be compared using L1 as the prefix and 001, 002, 010 as the numeric portion. The same idea works for something like 1/1/1-001, where the part before the final hyphen is the prefix. If the Lisp currently assumes that ADDRESS contains only digits, that's probably the part that needs changing. The important bit is to extract the number after the final -, convert that substring to an integer, and use it as the sort key. That will also preserve the expected order for values such as ...-002, ...-010, ...-100 instead of getting alphabetical ordering. If different prefixes need to be grouped together, I'd make the sort key something like (prefix, numeric part). That should let the same routine handle all three formats without having to hard-code L1 or 1/1/1.
-
Jeffery2145 joined the community
-
Why does the same CAD drawing behave differently on two computers?
indiancad posted a topic in AutoCAD 2D Drafting, Object Properties & Interface
Both systems may have the same drawing, but the result can still be different. Fonts, SHX files, plot styles, support paths, and installed add-ons can change how the drawing behaves. This is why sending only the DWG file is sometimes not enough. For team projects, I usually keep the required support files together with the drawing. It makes troubleshooting much easier when another user opens the same file. What additional files do you always send with a DWG? -
You could always use VBA, and/ or .NET to make the User Forms and work the LISP. I have a VBA or 2 around that I did, one runs Scripts in AutoCAD, I'll have to see what the others may do as I really haven't used them in a while. The inbuilt one works for me for now, but always could use more options. Autodesk hasn't made meaningful improvements to LISP since 1999 for AutoCAD 2000 and as you stated 0 DCL in 40 years, so don't get your hopes up on BricsCAD picking up the torch. Worth a try I would imagine.
-
Why does Object Snap sometimes stop working correctly in CAD?
SLW210 replied to indiancad's topic in AutoCAD 2D Drafting, Object Properties & Interface
Shift + Right-Click brings up a menu, except for Geometric Center, they all have a 1 letter shortcut, once in the habit it is very fast to select the snap you need. -
Free Multi Plot Lisp – Fast Batch Printing for AutoCAD, BricsCAD & ZWCAD | Model/Layout, Zone Plotting & PDF Merge
CamDuy replied to CamDuy's topic in AutoLISP, Visual LISP & DCL
-
AutoCAD 2027.1 Now Available: Smarter Autodesk AI Assistance and Smoother Collaboration
animal1103 replied to The AutoCAD Blog's topic in AutoCAD Blogs
-
Free Multi Plot Lisp – Fast Batch Printing for AutoCAD, BricsCAD & ZWCAD | Model/Layout, Zone Plotting & PDF Merge
Nikon replied to CamDuy's topic in AutoLISP, Visual LISP & DCL
The code doesn’t work (Autocad 2021 localized ) command: MPL Unknown command "MPL" -
Free Multi Plot Lisp – Fast Batch Printing for AutoCAD, BricsCAD & ZWCAD | Model/Layout, Zone Plotting & PDF Merge
CamDuy replied to CamDuy's topic in AutoLISP, Visual LISP & DCL
2026/08/18 - Version V13: Added Custom Name and Draw Temp Layout features Link Drive: https://drive.google.com/file/d/1McaDZI-gqSdi3zAdaHNu5LQ14_2JsDOj/view?usp=sharing -
VicoWang started following Update to the creation of DCL's
-
Designing UIs on the legacy DCL is basically dancing on a tightrope. It's a shame—even if there are new features, I can't use them in VedaCAD due to the need for cross-platform and full-version compatibility. If we really need a new feature, I think it should be native support for rounded buttons.
-
Since Acad first introduced DCL's that is like 40+ years ago, there has been no improvements to DCL's. This may be a big opportunity for Bricscad to add some more features. A few obvious ones. Text color Text style Text size Using other methods like .Net, VBA and maybe Open dcl the latter I don't use, allow for some of the options to be used. Obviously it's a support request, given that Bricscad has added VL functions not in other software, then maybe some new dcl options would be good. A proper forms engine would be good. So before sending a support request any other suggestions ? Hopefully more support requests will follow.
- Last week
-
Why does Object Snap sometimes stop working correctly in CAD?
BIGAL replied to indiancad's topic in AutoCAD 2D Drafting, Object Properties & Interface
Why not just, saved in a startup lisp. (defun C:15 ()(setvar "osmode" 15359)) ; sets all snaps on (defun C:47 ()(setvar "osmode" 47)(setvar "AUNITS" 0)) (defun C:99 ()(setvar "osmode" 99)) (defun C:8 ()(setvar "osmode" 8)) (defun C:9 ()(setvar "osmode" 9)) (defun C:0 ()(setvar "osmode" 0)) Ok, a little unknown tip is say you type Line you can then type '47 note apostrophe this runs a transparent command inside the Line command, setting the osmode to be used. Or type the number to set your osnaps. In lisp use (setvar 'osmode 47) before executing "do something". -
Why does Object Snap sometimes stop working correctly in CAD?
CyberAngel replied to indiancad's topic in AutoCAD 2D Drafting, Object Properties & Interface
You can examine your snap settings in the Drafting Settings dialogue box, under the Object Snap tab. The other tabs are useful too. Open this dialogue by typing DSETTINGS at the command prompt. Hint: if you type +DSETTINGS and give it 2 for the Tab Index, it will open at the Object Snap tab. Another way to open this dialogue is by expanding the Snap Mode menu on the status bar (you may need to enable it from the Customization button there). On that same menu you can toggle any of the snap options without going to the dialogue. You may want to keep certain object snaps turned off. With too many active, it can be hard to locate the right point. If you need one of those snaps temporarily, you can override the setting by typing a shortcut, such as PER for Perpendicular or NON for None. Here is an Autodesk video that covers object snaps. There is much more information out there about object snaps and settings. -
Why does Object Snap sometimes stop working correctly in CAD?
indiancad posted a topic in AutoCAD 2D Drafting, Object Properties & Interface
If your object snap is not working properly or it feels like it is missing points, do not worry. In most cases, the problem is very simple. First, check the system variable called OSMODE. OSMODE controls which object snap options are turned ON or OFF. For example, it controls snaps like endpoint, midpoint, center, intersection, and others. If the value of OSMODE is changed or set incorrectly, your snaps may not work as expected. You may feel like CAD is not snapping at all or only snapping sometimes. To check it, just type OSMODE in the command line and press Enter. CAD will show you the current value. If needed, you can change it to enable the snap modes you want. After setting it correctly, your object snaps should start working normally again. Have you ever fixed a CAD problem just by changing a system variable? Which one helped you the most? -
Green Releaf Dispensary joined the community -
Asad Ullah Khalid joined the community
-
Danielm103 started following If Salvador Dalí was a drafter
-
import wx import random from pyrx import Ap, Db, Ed, Gs class TestDialog(wx.Dialog): def __init__(self, parent, size, pos): wx.Dialog.__init__(self) self.Create(parent, wx.ID_ANY, "", pos, size, style=wx.BORDER_NONE) self.width = size.GetWidth() self.height = size.GetHeight() self.static_bitmap = None self.image = None self.raw_data = None self.offsets = [0] * self.width self.bg_r = 0 self.bg_g = 0 self.bg_b = 0 self.timer = wx.Timer(self) self.Bind(wx.EVT_TIMER, self.on_melt_tick, self.timer) def setImage(self, img: wx.Image): self.image = img self.raw_data = bytearray(self.image.GetData()) if len(self.raw_data) >= 3: self.bg_r = self.raw_data[0] self.bg_g = self.raw_data[1] self.bg_b = self.raw_data[2] bmp = wx.Bitmap(self.image) if not self.static_bitmap: self.static_bitmap = wx.StaticBitmap(self, wx.ID_ANY, bmp, pos=(0, 0)) else: self.static_bitmap.SetBitmap(bmp) self.static_bitmap.Bind(wx.EVT_LEFT_DOWN, self.on_click) self.timer.Start(33) def on_melt_tick(self, event): stride = self.width * 3 melted_anything = False for x in range(self.width): if self.offsets[x] < self.height: increment = random.randint(2, 8) self.offsets[x] = min(self.height, self.offsets[x] + increment) melted_anything = True offset = self.offsets[x] if offset == 0: continue x_offset = x * 3 for y in range(self.height - 1, offset - 1, -1): target_idx = (y * stride) + x_offset source_idx = ((y - offset) * stride) + x_offset self.raw_data[target_idx] = self.raw_data[source_idx] self.raw_data[target_idx + 1] = self.raw_data[source_idx + 1] self.raw_data[target_idx + 2] = self.raw_data[source_idx + 2] for y in range(offset): bg_idx = (y * stride) + x_offset self.raw_data[bg_idx] = self.bg_r self.raw_data[bg_idx + 1] = self.bg_g self.raw_data[bg_idx + 2] = self.bg_b if not melted_anything: self.timer.Stop() return self.image.SetData(bytes(self.raw_data)) self.static_bitmap.SetBitmap(wx.Bitmap(self.image)) def on_click(self, event): self.timer.Stop() self.EndModal(wx.ID_OK) @Ap.Command() def doit(): doc = Ap.curDoc() db = doc.database() wxDoc: wx.Window = doc.getWxWindow() sz = wxDoc.GetSize() pos = wxDoc.GetScreenPosition() img: wx.Image = Gs.Core.getBlockImage(db.modelSpaceId(), sz.GetWidth(), sz.GetHeight(), 1.0) dlg = TestDialog(wxDoc, size=sz, pos=pos) dlg.setImage(img) dlg.ShowModal() dlg.Destroy()
-
- 1
-
-
My drawing disappeared — what do you check first?
BIGAL replied to indiancad's topic in AutoCAD 2D Drafting, Object Properties & Interface
My $0.05. ZOOM E zoom c (getvar 'extmax) 100 May need a different scale than 100 If ok then zoom c (getvar 'extmin) 100 -
EduLos joined the community
-
My drawing disappeared — what do you check first?
indiancad posted a topic in AutoCAD 2D Drafting, Object Properties & Interface
Have you ever opened a DWG and suddenly thought, “Where did my drawing go?” The objects may still be there, but they could be far from the current view, on a turned-off layer, or hidden inside another location. Here are a few quick things I usually check: Zoom Extents to see if the drawing is just far away from the current view. Layer visibility (make sure layers are not frozen or turned off). Check if objects are on a hidden or locked layer. UCS / View settings in case the view is rotated or shifted. Drawing units & scale to ensure objects aren’t extremely small or large. Use SELECT ALL to confirm objects still exist in the file. I usually start with Zoom Extents first, then move through the rest. I usually start with Zoom Extents first, then move through the rest. What do you check first when your drawing suddenly disappears?
