• Download & Store

    Download now!

    ETOOLBOX Free CAD Viewer
    QuoteCAD Manufacturing

    Store - Buy Online


    • Standalone perpetual licenses
    • Network Floating Licenses
    • Subscription Licenses
    • Upgrade Licenses
    • Dedicated Support
    • Learn CAD online

  • Login
  • Register
    • Download & Store

      Download now!

      ETOOLBOX Free CAD Viewer
      QuoteCAD Manufacturing

      Store - Buy Online


      • Standalone perpetual licenses
      • Network Floating Licenses
      • Subscription Licenses
      • Upgrade Licenses
      • Dedicated Support
      • Learn CAD online

    • Unanswered topics
    • Active topics
  1. Home
  2. Board index
  3. CMS IntelliCAD
  4. AutoLisp/SDS

Scale multiple objects, each about its own Center

Moderators: CMS Inc, avaernes

  • Print view
Post Reply
  1. Home
  2. Board index
  3. CMS IntelliCAD
  4. AutoLisp/SDS
2 posts
Display posts from previous
Sort by
martin777
martin777
Rank:
Newbie
Posts:
1
Joined:
Sun Mar 05, 2023 6:21 am

Scale multiple objects, each about its own Center

#1 by martin777
How to do this in Intellicad compatible lisp?
  • Quote
  • Sun Mar 05, 2023 6:24 am
User avatar
QuanNguyen
Rank:
Valued Contributor
Posts:
426
Joined:
Sat Nov 09, 2019 6:50 pm
Contact:
  • Website

Re: Scale multiple objects, each about its own Center

#2 by QuanNguyen
Please refer to the simple lisp, multi-scale circle, and arc object.

Code: Select all

(defun c:scCir(/ ent i obj ss)
  (vl-load-com)
  
  (if (setq i -1 ss (ssget '((0 . "CIRCLE,ARC"))))
    (progn
      (SETQ scaleUp (not scaleUp))
      (while (setq ent (ssname ss (setq i (1+ i))))
	(setq obj (vlax-ename->vla-object ent))
	(setq center (vla-get-center obj))
	(vla-ScaleEntity obj center (if scaleUp 2 0.5) ))      ))  
  (princ))
  • Quote
  • Sun Mar 05, 2023 6:33 pm

Latest Posts
2 posts
Post Reply

Return to “AutoLisp/SDS”

Jump to
  • CMS IntelliCAD
  • -     FAQ - Frequently Asked Questions
  • -     General
  • -     AutoLisp/SDS
  • -     VBA, . NET & IRX
  • -     -     FAQ
  • -     New User
  • -     Small Business
  • -     Realistic Rendering
  • -     Bonus
  • -     Free CAD .DWG Blocks
  • -     License Management
  • -     Store, Accounts and Purchases
  • -     Academic
  • QuoteCAD Manufacturing
  • -     General
  • -     Quotation and Manufacturing
  • -     Database Manager
  • -     License Management
  • ETOOLBOX CAD Viewer
  • -     General
  • -     License management
iCAD v15 failed creation of c…
Hi i'm an updater from v12.1 and had to uninstall v15 (manteinance updated) and run back to v12.1 cause with v15 it
ant64, Fri Oct 09, 2026 8:51 am
Artisan with cms 15
Hi everyone, is it possible to use Artisan 1.1 (which I used with CMS 12) in version 15? Thank you.
magh10, Fri Oct 09, 2026 12:31 am
User avatar
Re: [v15.0] DISTANCE command …
The fix will be available on the next maintenace build.
CMS Inc, Tue Oct 06, 2026 1:48 pm
Re: [v15.0] DISTANCE command …
I installed maintenance build 15.0.587.175583.PE+.VC17.x64.CMS150, but the problem persists; it doesn't happen cons
andcip, Tue Oct 06, 2026 12:11 pm

  • Home
  • Board index
  • FAQ
  • Privacy
  • Terms
  • All times are UTC-06:00
  • It is currently Sat Oct 10, 2026 5:02 pm
Copyright © 1993-2026 CAD-Manufacturing Solutions, Inc. All rights reserved. ETOOLBOX , QUOTECAD and CADhobby are CMS, Inc. US trademarks no. 4,374,633 ; 3,463,607 and 7,391,196 respectively.
Avatar icons made by Freepik from www.flaticon.com

Login




Register