.NET

Reply
Distinguished Contributor
gilseorin
Posts: 177
Registered: ‎09-05-2006
Message 1 of 5 (304 Views)

Rotate Problem

304 Views, 4 Replies
12-20-2006 05:55 AM
Hi, Guys.
I made a rotate function, but got error message.
How should I fix it? Attached file.
Plz,help me.
*tp
Message 2 of 5 (304 Views)

Re: Rotate Problem

12-20-2006 09:09 AM in reply to: gilseorin
See atached.
Work for me.

tp


escreveu na mensagem news:5431387@discussion.autodesk.com...
Hi, Guys.
I made a rotate function, but got error message.
How should I fix it? Attached file.
Plz,help me.



I'm protected by SpamBrave
http://www.spambrave.com/
Distinguished Contributor
gilseorin
Posts: 177
Registered: ‎09-05-2006
Message 3 of 5 (304 Views)

Re: Rotate Problem

12-20-2006 11:29 AM in reply to: gilseorin
Thank you very much for your kindness reply.
Then, work for you? Work what?
If private comment, email me below.
gilseorin@naver.com
*Norman Yuan
Message 4 of 5 (304 Views)

Re: Rotate Problem

12-20-2006 12:01 PM in reply to: gilseorin
You need to use Transaction to open entity for write (not for read, as in
your code), and then commit the change (rotation transform) by calling
Transaction.Commit(). That is the difference between your code and the
working ocde replied by tp (have you actually read his code?).

wrote in message news:5431954@discussion.autodesk.com...
Thank you very much for your kindness reply.
Then, work for you? Work what?
If private comment, email me below.
gilseorin@naver.com
Distinguished Contributor
gilseorin
Posts: 177
Registered: ‎09-05-2006
Message 5 of 5 (304 Views)

Re: Rotate Problem

12-21-2006 04:09 AM in reply to: gilseorin
Thank you so much.
Finally,owing to the function provided by tp and your advice , I succeeded to perform a rotate method in vb.net.
Happy Day!
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.