Leaderboard
Popular Content
Showing content with the highest reputation since 10/23/2026 in Posts
-
Thanks. Yes, this entire site runs on PHP. Fortunately, my web host was very quick to add the necessary patches to ensure safety and security. We're all good3 points
-
I have a couple apps on the autodesk store. here's one XLSX field evaluator. https://apps.autodesk.com/ACD/en/Detail/HelpDoc?appId=4867035866745163447&appLang=en&os=Win64 Anyway, I use Autodesk's entitlement API. All you need to do is register your application , they give you an Application id. you can see the ID in the link all you need to do is query the server with the ONLINEUSERID. You need to be able to let the user use your application offline, my app checks at the beginning of each month here's a quick lisp sample (defun c:IsEntitled (/ http response) (setq appId (getstring "Enter AppId ")) (setq userId (getvar "ONLINEUSERID")) (setq url (strcat "https://apps.autodesk.com/webservices/checkentitlement?userid=" userId "&appid=" appId ) ) ;https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms759148(v=vs.85) (if (setq http (vlax-create-object "MSXML2.XMLHTTP")) (progn (vlax-invoke-method http 'open "get" url :vlax-false) (if (not (vl-catch-all-error-p (vl-catch-all-apply 'vlax-invoke (list http 'send))) ) (setq response (vlax-get http 'responseText)) ) (vlax-release-object http) ) ) (cond ((> (vl-string-search "true" response) 0) (princ "\nTrue")) (t (princ "\nFalse")) ) (princ) );def2 points
-
For pure LISP, FAS and VLX are generally OK - commercially these are used. Unless you are selling thousands of copies for thousands each time to make it worth while to break the coding, perhaps selling a few copies to each company doesn't make it worth breaking them. It is possible but the forums (including this one) are very quick to stop any such requests. I'd be happy to sell these in formats. Then of course you have sent your file out into the wild, it can be copied and sent around an office as fast as an email. You could hard code each file with details specific to the computer / user (www.cadtutor.net/forum/topic/34596-computer-name/) - perhaps check (getenv "ComputerName") and (getenv "UserName") and test these against a (unique) hard coded variable in each file that you sell. Down side is you have to trust them when they want an updated file if they update their computer (Limit this to '1 updated computer every 4 years is allowed') - though you could also do a check that the AutoCAD version has also increased when requesting a new LISP file. That does mean extra work for you or your team though, and not a fully automated process. These 2 should be enough to protect yourself from legitimate business stealing your code. After that your protection has to come out of AutoCAD and LISP and into professional file hosting solutions - not my thing there - but one solution was to again hard code their LISP file to link to a cloud based LISP file that will return a code to the first LISP - this, computer name, user name can validate that they are in their license period and LISP can run. Benefit here is you have complete control if they can get access and of course, the date / expiry is hard coded into the remote / your LISP. I'd have one remote LISP file for each licensed File you send out. Downside here is a financial cost to maintain a web presence, with firewall and authentication systems. Since it is just a file most commercial thing should do what you want, and you need internet access for that initial validation in each CAD instance. Taking that a step further, the file you sell could be a simple "appload" command linking to your remote files, once validated apploaded into that CAD instance - offline use will be OK s long as there was internet to connect and download initially for that CAD instance. Noting that any remote file is not copied to their system and to access it / read it needs the user to break the encoding to get the file path, to copy it to break the coding again to copy the programming. Good question - I might be out tomorrow with a systems architect and this is his thing - if I remember I'll see his thoughts, but that is who you want to talk to. It might be possible to host it all yourself. Of the developers on here Tharwat sells his work commercially and is up to speed with protecting his stuff, he might be around to give a few pointers. Final part - reverse engineering - if it is being used, not a lot you can do about that, just got to hope that whoever buys it realises the time and cost to remake it and that yours is a lot better value.2 points
-
SlbMgr is a Slide Library Manager written in AutoLISP that requires VBScript and Word to be installed. 1) Select an AutoCAD Slide Library (like acad.slb but must be in a writable folder) 2) A Slide Manager window appears listing Slides in the selected Slide Library file 3) Select Slides to Subtract or Slides stored locally to Add 4) File Explorer opens in location where Updated Slide Library file is created Feedback welcome. SlbMgr.lsp2 points
-
2 points
-
I have been pretty busy with the grandkids back and it near Halloween here and the 3D printing, but I did get the CENTERMARK replacement working last week. I created some tough test examples, so there are a few bugs to workout where the native AutoCAD CENTERMARK fails and it uses the crosshairs. I'll try to iron those out next week, the version I have now is working in most situations, the ones not working are blocks that have curve features dimensioned in paperspace through the viewport, and a few odd circles in paperspace, others work in the same layout, I think I know the difference. CENTERMARK command requires an object, so selecting the proper curves by the dimension seems the main issue, though I have that sorted for most situations. This relates back to the samples from my GETLENGTH.lsp and the SOLPROF created viewports and the blocks inside, so normally what I have now should work for most people. If anyone is interested in seeing what I have so far, I might go ahead and post it if there is interest.2 points
-
Update V2: https://drive.google.com/file/d/1tKI38W60KEjrlQ-NF4Rh-gctgxSd8HQf/view?usp=drive_link2 points
-
Tried it in Bricscad V25 worked ok, a side issue it pops open the text file in Notepad which I have to close. I really don't want these TXT files being added to the chosen slb directory. They should be deleted or an option keep or delete.2 points
-
Just a comment using Bricscad only finds. D05 (sslength (ssget "_X" '((0 . "VIEWPORT") (67 . 1) (-4 . "/=") (69 . 1)))) returns 4 D03 = 4 D05 (sslength (setq ss (ssget "_X" (list (cons 0 "VIEWPORT") (cons 410 (getvar 'ctab)))))) returns 1 ie no normal viewports D03 = 2 a pspace and 1 viewport The order of SS is Viewport...Viewport Pspace may be different in Acad. I copied viewports for testing. Then erased one by one using (ssname ss X) can not erase pspace of course.1 point
-
Thanks ZA appears to work fine. LOL I hear you... We often hear complains from clients that drawing is broken and we usually we can narrow it down to a few things...useer define ucs is set, UCSfollow set to 1 or garbage has been left both in PS or MS an zoom extent result to just dots on the scree. So I too run the zoom E in PS as well just to see if there any garbage outside the TB. FYI does work either: (vla-Regen (vla-get-ActiveDocument (vlax-get-acad-object)) acAllViewports) doesn't update them. I added some prompt suppression... (defun DP:llnze (/ lyt) (setq oldEcho (getvar "CMDECHO") oldNOMUTT (getvar "NOMUTT") lyt (getvar "CTAB") ) (setvar "CMDECHO" 0) (setvar "NOMUTT" 1) (vl-catch-all-apply '(lambda () (foreach lay (layoutlist) (setvar "CTAB" lay) (setvar "CVPORT" 1) (vl-cmdf "_.ZOOM" "_E") ) ) ) (setvar "CTAB" lyt) (setvar "CMDECHO" oldEcho) (setvar "NOMUTT" oldNOMUTT) (princ) ) now Using this works fine.: (setq ss (ssget "_X" '((0 . "VIEWPORT") (-4 . "<>") (69 . 1) (410 . "~Model")))) So for this is working great1 point
-
Like @Danielm103, I was also going to suggest Autodesk Store and/or what @BIGAL stated would be my choices. It really depends on what you are comfortable/familiar with. Personally, unless your LISPs are really making difficult and/or complicated work easy and a lot faster, I wouldn't believe they would be big sellers since they seem targeted at AutoCAD MEP, I haven't looked at any numbers lately, but a lot of those users are slowly rolling over to Revit, I was using AutoCAD MEP occasionally, but haven't had any of that type work to do in a good while, perhaps an occasional user such as myself would be a potential customer, I am not sure what percentage of AutoCAD users "do a little of everything" like I do. That is not meant to deter you, just to give an insight on what $$$ and effort you need to spend getting them secure and keeping them up. What future plans do you have on providing support? I see a lot of for purchase apps that end up having the publisher lose interest or other issues and the support goes away.1 point
-
Maybe read through this thread. Get All Viewports in All Layouts - Autodesk Community What exactly are you trying to accomplish after getting them selected?1 point
-
Like the idea of using a cloud address that is yours. There is mentions in some forums of un-encrypting but how many really no how to do that. Yes people do give your code to friends, for me had security so eventually worked out the code was given to some one else. So no install. Some methods all lisp based. USB IP address on pc network card etc Hard disk ID Username CAD serial number Read registry Read a file from a web server. Some internet providers allow you space on their site at no cost. Re updating there is an old DOS command "Copy File1+file2 file3". so file1 is a lisp file with the correct security code checks, file2 is your normal lisp program code without security. You would compile file3. Pretty easy to make a BAT file for the task, did use this method very extensively. Do around 50 lisps in one go. One grey area is I do custom lisps for clients so who owns the code ? Unless you have some form of right to use contract. They are provided with source code. Last comment I have a Install.lsp that does all the hard work, unzips a file to correct directory with all the code dwg mnu cuix etc, adds support paths and new menu's, toolbars etc, Can do as a Bundle if needed. just ask if want more detail, saves making a MSI or EXE etc.1 point
-
@mhupp unfortunately this ssget filter in autocad returns nothing: (ssget "_X" '((0 . "VIEWPORT") (-4 . "!=") (410 . "Model") (-4 . "!=")(-4 . ">") ))1 point
-
Thanks for @mhupp recommendation. @Sathar These issues you raised, I should have solved them all on VedaCAD, but all the technologies are developed specifically, without using any mature commercial solutions or public libraries, so there is no way for me to provide you with my technical implementation. But I have an idea that might be easier to achieve, perhaps it could provide you with some ideas: Notion can actually be accessed through API, all operations in Notion are graphical, such as creating a table accessible through API, when your users verify through the client, check if there is corresponding authorization information in the table. At this point, the Notion table functions like a database, avoiding the trouble of creating a database (designing a database from scratch is really Trouble, the database in the development of vedacad has been adjusted for at least over 100 rounds). You need a server (even a dedicated domain is not necessary, but it needs to connect the client and the Notion API, and storing the Notion token on the server instead of hardcoding it on the client is a safe isolation strategy), let your client access your server, let the server access your Notion table, and return true/false and time to the client, and set a reasonable reconnection time interval, which should be able to implement a certain degree of online authorization verification system. As long as you master how to make the client connect to a specific server endpoint, the above pattern should be achievable, unlike VedaCAD, which also needs to transmit the file itself, which is the easiest part to crash. Although protecting our intellectual property is our business strategy, this forum is more open to discussions on the open-source of some simple/free plugins, hoping the above ideas can help you. --- I have a WhatsApp group related to CAD: https://chat.whatsapp.com/BsM62YEol9SHdKoWxaeW1D There's even a hidden expert in the group who write an AutoLisp IDE, where you might get more ideas.1 point
-
@VicoWang might have a solution.1 point
-
Hi all, I am in the early stages of developing (vibe coding) something I have been thinking about for a minute: a videogame where you CAD. It's called CADcade and I've got a whole vision for it and everything. Right now it's just some beginner lessons, a sandbox mode, and an arcade mode with 36 drafting challenges of varying difficulties. It runs in your computer browser, and one of the goals is to help students and beginners learn the basics of navigating CAD products and spatial thinking for free online. This is kind of a demo of it that I would like to get feedback on (not selling or monetizing anything). I just wanted to share it here and see what you guys think. How does it feel? Ai slop? Not enough commands? Dumb concept? Every reply helps. cadcade.net Thank you!1 point
-
1 point
-
@SLW210 I think that's precisely why MS is not just stopping support of it but wants to completely wipe it out of existence...1 point
-
VBScript does function here at work. After I need a manual activation, it probably will not be available. Interestingly, it is being deprecated due to Security issues, goes to show how useless and incompetent IT departments are. I might see if I can bypass the Word requirement on the home computer and use LibreOffice. As per advice from Microsoft, PowerShell or JavaScript is to be the replacement. A quick test shows a JavaScript will run, but not sure if it would be locked at some point until I actually try it as a replacement for VBScript. Here is the supposed timeline. VBScript deprecation: Timelines and next steps | Windows IT Pro Blog1 point
-
Isn't VBScript going away? I know, they say they're getting rid of all kinds of things and don't, but I read a while back this was definitely getting the axe. I suppose though it wouldn't be on Windows any longer (supposedly next year), you could probably get it and install yourself. I don't use Word at home, I'll have to see if VBScript is available at work.1 point
-
I don't know if you use php here but might want to upgrade if you haven't already. https://www.php.net/archive/2026.php#2026-10-21-51 point
