Jump to content

How to Find out Scaled Entity???


Recommended Posts

Guest balajibth84
Posted

Hai Here Balaji...Actually we are using the 5 type of scales...Like Scale 1,1.5,2,3,4..After scale we cannt able to find out which one is scaled...Bcoz 1 and 1.5 scale is for looking small deviation only...so through lisp i am picking that entity means its need to show its scaled or not..And scaled means how much its scaled..this detail its possible????through code??any code for this???

  • Replies 22
  • Created
  • Last Reply

Top Posters In This Topic

  • BlackBox

    8

  • alanjt

    3

  • Sweety

    3

  • The Buzzard

    2

Top Posters In This Topic

Posted Images

Guest balajibth84
Posted

i dont know the code creation...so only i am asking....man plz try to help me

Posted

Look into DXF codes 41, 42, and 43... then write some code yourself... and use code tags!

 

i dont know the code creation...so only i am asking....man plz try to help me

 

 

... I already did.

Guest balajibth84
Posted

DXF codes 41, 42, and 43 where its availble??Plz tell exact path

Posted
DXF codes 41, 42, and 43 where its availble??Plz tell exact path

 

Look for the entget in the car.

 

It *might* be sitting in the cdr, next to assoc and his DXF friend.

Guest giscad84
Posted

hay RenderMan and balaji i think its possible to findout?

Posted

Once the entity is scaled (in model space), it becomes a new entity. As far as I know, there is no way to find out if any entity has been scaled or not.

 

If you want to find out a scale of a viewport, you will be able to do it by dividing values of assoc 41 and 45 of that viewport's dxf code. But again, it won't to tell you if that was changed previously.

Posted
Once the entity is scaled (in model space), it becomes a new entity. As far as I know, there is no way to find out if any entity has been scaled or not.

 

 

The one exception to that statement is blocks (including external references).

 

For example, it is easy to identify if a block has been scaled, as I described above. If not using DXF group codes, one could simply use the *EffectiveScaleFactor, and/or *ScaleFactor properties (for X, Y, Z respectively) given a BlockObject.

Posted
Look for the entget in the car.

 

It *might* be sitting in the cdr, next to assoc and his DXF friend.

 

:lol::lol::lol:

Posted
:lol::lol::lol:

 

I may have to consider replying to all code questions in this format... I see it as a 'lost art' of sorts. :lol:

 

Glad you appreciate the laughable value, bud. :D

Posted
Look for the entget in the car.

 

It *might* be sitting in the cdr, next to assoc and his DXF friend.

 

So they must be having a cup of tea together . :lol: :lol:

 

Avery nice explainations for you Renderman.

 

I liked them

Posted
So they must be having a cup of tea together . :lol: :lol:

 

Avery nice explainations for you Renderman.

 

I liked them

 

 

What's life without a bit of levity every now and then...!? :wink:

Posted
DXF codes 41, 42, and 43 where its availble??Plz tell exact path

 

Do you mean by the word (scale) the height of text(s) ? :unsure:

 

I couldn't get you well. :?

 

Regards.

Posted
or a block

 

What did you understand from her start thread ?

 

Really I don't know .

Posted

Block entity data dump (entget (car (entsel))):

(-1 . <Entity name: 7effa6c0>)
(0 . "INSERT")
(330 . <Entity name: 7ef9ccf8>)
(5 . "533D8")
(100 . "AcDbEntity")
(67 . 0)
(410 . "Model")
(8 . "C-STRM-STRC")
(100 . "AcDbBlockReference")
(2 . "P6")
(10 2.03439e+006 510262.0 0.0)
[color=red](41 . 1.0) "X"
(42 . 1.0) "Y"
(43 . 1.0) "Z"[/color]
(50 . 0.0)
(70 . 0)
(71 . 0)
(44 . 0.0)
(45 . 0.0)
(210 0.0 0.0 1.0)

Posted
Block entity data dump (entget (car (entsel))):

(-1 . <Entity name: 7effa6c0>)
(0 . "INSERT")
(330 . <Entity name: 7ef9ccf8>)
(5 . "533D8")
(100 . "AcDbEntity")
(67 . 0)
(410 . "Model")
(8 . "C-STRM-STRC")
(100 . "AcDbBlockReference")
(2 . "P6")
(10 2.03439e+006 510262.0 0.0)
[color=red](41 . 1.0) "X"
(42 . 1.0) "Y"
(43 . 1.0) "Z"[/color]
(50 . 0.0)
(70 . 0)
(71 . 0)
(44 . 0.0)
(45 . 0.0)
(210 0.0 0.0 1.0)

 

 

... It's as if I don't even know you, Alan. :o

 

Tired of seeing this in the 'What's New' list? :P lol

Posted
Tired of seeing this in the 'What's New' list? :P lol
LoL

Close enough to what I'm tired of. Of course, I guess it's like a stray animal. If you continue to feed them, they'll keep coming back. :?

Posted
LoL

Close enough to what I'm tired of. Of course, I guess it's like a stray animal. If you continue to feed them, they'll keep coming back. :?

 

Lol

 

That's why I think I'll start answering in 'Story Form' instead. :twisted: ... it seems to be a hit.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...