inserting block like acad INSERT

inserting block like acad INSERT

Anonymous
Not applicable
392 Views
4 Replies
Message 1 of 5

inserting block like acad INSERT

Anonymous
Not applicable
Hi I want to konow how to insert block in dwg like in acad INSERT command. I want to see block and block changes when choosing insertion point,scale and rotation. Examples on adn doesn't show block when choosing insertion point and rotation. Thanks Simon
0 Likes
393 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
You'll need to use an AcEdJig for that. Not too terribly difficult. Take a look at the ObjectARX reference and the sample application that comes in the SDK - one of them shows you how to jig an ellipse. Give it a try and post back if you have problems. -Rich "simon pelicon" wrote in message news:40920cce$1_2@newsprd01... > Hi > > I want to konow how to insert block in dwg like in acad INSERT command. > I want to see block and block changes when choosing insertion point,scale > and rotation. Examples on adn doesn't show block when choosing insertion > point and rotation. > > Thanks > > Simon > >
0 Likes
Message 3 of 5

Anonymous
Not applicable
Once I tried to insert a block with attributes thru AcEdjig - but my problem was with the block attributes - I didn't able to turn them off like autoCAD insert command... At that time I didn't spend much time on that - but within 2/3 weeks I've to solve that problem. Thanks -Partha "Justavian" wrote in message news:40925210$1_1@newsprd01... > You'll need to use an AcEdJig for that. Not too terribly difficult. Take a > look at the ObjectARX reference and the sample application that comes in the > SDK - one of them shows you how to jig an ellipse. Give it a try and post > back if you have problems. > > -Rich > > > "simon pelicon" wrote in message > news:40920cce$1_2@newsprd01... > > Hi > > > > I want to konow how to insert block in dwg like in acad INSERT command. > > I want to see block and block changes when choosing insertion point,scale > > and rotation. Examples on adn doesn't show block when choosing insertion > > point and rotation. > > > > Thanks > > > > Simon > > > > > >
0 Likes
Message 4 of 5

Anonymous
Not applicable
Look at acedGetVar() for sysvar "attreq" this may be what you need. jon "simon pelicon" wrote in message news:40920cce$1_2@newsprd01... > Hi > > I want to konow how to insert block in dwg like in acad INSERT command. > I want to see block and block changes when choosing insertion point,scale > and rotation. Examples on adn doesn't show block when choosing insertion > point and rotation. > > Thanks > > Simon > >
0 Likes
Message 5 of 5

Anonymous
Not applicable
i have a similar problem ...
I have a dwg file wich has some custom entities .
I have an application loaded that contains the custom entity class.
I try to insert the dwg in a new drawing ..It works... But if in the insert dialog box from autocad I check the explode option
it doesn't work .

I overrrided deepclone function . It is basicaly the same as the example in the documentation or samples.

So my problem is :
If i choose just insert : the pOwner parameter from deepclone
is Ok. By ok I meen i can make a cast to AcDbBlockTableRecord and add the cloned entity ....

If i check the explode option the pOwner is not ok anymore...
I can't make a cast to AcDbBlockTableRecord ... but i can make a cast to AcDbBlockTable !! ...(the object is primary)

In the samples this case is treatead as : eInvalidOwner

One more thing ...if i don't choose insertion point the owner is again ok ..

Help Help Help
0 Likes