Saturday, November 21, 2009
Home   |   Search   |   About AUGI   |   My AUGI   |   Join Now

Go Back   AUGI Forums > AUGI Technical (English) > Programming > AutoLISP
 Welcome, Guest. 

Login

Join Now FAQ Members List Calendar Search Today's Posts Mark Forums Read

AutoLISP AutoLISP or Visual LISP, learn both here!

Reply
 
Thread Tools Display Modes
Old 2004-06-22, 11:06 AM   #1
rajat126
Member
 
Join Date: 2003-12
Posts: 7
rajat126 is starting their journey
Default Problem in vla-explode method

Hi,
This is Rajat here and I have a little problem with vla-explode method.
When I am trying to explode a block with default X , Y & Z scale factor, there is no problem. But if I change any of the default scale factor, It is not working. It produces an error message.... "error: Automation Error. Invalid Input."

Can you give me an idea that I can solve this problem ?
rajat126 is offline   Reply With Quote
Old 2004-06-22, 05:12 PM   #2
whdjr
I could stop if I wanted to
 
Join Date: 2003-05
Posts: 335
whdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of light
Default RE: Problem in vla-explode method

Rajat,


I may be wrong, but I don't believe you can explode a block to a scale.
__________________
Good Blockin'

Will DeLoach
AutoCad / ADT 2006
whdjr is offline   Reply With Quote
Old 2004-06-22, 10:49 PM   #3
kwbrown
Member
 
Join Date: 2002-06
Posts: 4
kwbrown is starting their journey
Default RE: Problem in vla-explode method

(setq objBlock (vlax-ename->vla-object (car (entsel))))
(vla-explode objBlock )

This works for me

on

blocks inserted with unequal X, Y, Z scales
.. also on mirrored blocks with unequal X, Y, Z scales
kwbrown is offline   Reply With Quote
Old 2004-06-23, 01:10 AM   #4
miff
I could stop if I wanted to
 
Join Date: 2003-12
Posts: 461
miff has landed on the moonmiff has landed on the moonmiff has landed on the moonmiff has landed on the moonmiff has landed on the moonmiff has landed on the moonmiff has landed on the moonmiff has landed on the moonmiff has landed on the moonmiff has landed on the moonmiff has landed on the moon
Default

First make sure your EXPLMODE system variable is set to 1. If it's 0 then blocks must be equally scaled.

Good Luck
miff is offline   Reply With Quote
Old 2004-06-23, 02:40 PM   #5
whdjr
I could stop if I wanted to
 
Join Date: 2003-05
Posts: 335
whdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of lightwhdjr is a beam of light
Default RE: Problem in vla-explode method

I didn't know that.

Thats a good one to know.
__________________
Good Blockin'

Will DeLoach
AutoCad / ADT 2006
whdjr is offline   Reply With Quote
Reply


Go Back   AUGI Forums > AUGI Technical (English) > Programming > AutoLISP

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Revit PDF Writer 4.2 Installation Problem dnilsson Revit Architecture - General 9 2004-06-16 04:14 PM
Strange Autocad Viewport Problem razorx Revit Architecture - General 3 2004-06-07 08:19 PM
Steanding Seam Roof/ Sloped Glazing Problem Allen Lacy Revit Architecture - General 3 2004-06-04 04:52 PM
Big MAJOR SCARY problem with linked DWG's... Jeffrey McGrew Revit Architecture - General 6 2003-08-11 08:00 PM
Crop Region Problem cadmonkey Revit Architecture - General 3 2003-07-01 06:03 PM


All times are GMT +1. The time now is 10:56 AM.