Author Topic: How to change block scale uniformly?  (Read 1987 times)

0 Members and 1 Guest are viewing this topic.

HasanCAD

  • Swamp Rat
  • Posts: 1421
How to change block scale uniformly?
« on: July 17, 2014, 08:13:34 AM »
I created a block and made it unexplodable by
Code: [Select]
(vla-put-explodable (vla-item blks "SS") :vlax-false)So How to make this block scale uniformly?

kpblc

  • Bull Frog
  • Posts: 396
Re: How to change block scale uniformly?
« Reply #1 on: July 17, 2014, 09:04:34 AM »
Change BlockScaling property to :vlax-true (or :vlax-false)
Sorry for my English.

HasanCAD

  • Swamp Rat
  • Posts: 1421
Re: How to change block scale uniformly?
« Reply #2 on: July 20, 2014, 03:01:36 AM »
THanks kpblc but not working
Code: [Select]
  (Blk)
  (setq blks (vla-get-blocks (vla-get-activedocument (vlax-get-acad-object))))
  (vla-put-explodable (vla-item blks "SS") :vlax-false)
  (vla-put-BlockScaling (vla-item blks "SS") :vlax-false)

Tharwat

  • Swamp Rat
  • Posts: 710
  • Hypersensitive
Re: How to change block scale uniformly?
« Reply #3 on: July 20, 2014, 04:21:25 AM »
I think it should be acUniform and not :vlax-false  :wink:

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: How to change block scale uniformly?
« Reply #4 on: July 20, 2014, 04:48:41 AM »
I think it should be acUniform and not :vlax-false  ;)

Yes, It should be set to enumerators 0 or 1.
ie: acNone or acUniform

link added:
http://help.autodesk.com/view/ACD/2015/ENU/?guid=GUID-F8A1C955-9669-4132-BBF3-6F7BE4710471
« Last Edit: July 20, 2014, 04:54:10 AM by Kerry »
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

HasanCAD

  • Swamp Rat
  • Posts: 1421
Re: How to change block scale uniformly?
« Reply #5 on: July 20, 2014, 06:10:05 AM »
Thanx all working perfect.