ObjectARX

ObjectARX

Reply
Contributor
11 Posts
0 Kudos
Registered: ‎05-16-2012
Post 1 of 2
Accepted Solution

WblockCloneObjects() returns eNotAllowedForThisProxy

371 Views, 1 Replies
02-22-2013 01:13 AM

WblockCloneObjects()  returns eNotAllowedForThisProxy.

Anybody know how to handle this? Thanks advance.


chunyuran wrote:

WblockCloneObjects()  returns eNotAllowedForThisProxy.

Anybody know how to handle this? Thanks advance.


If the drawing contains proxy-object/entity that was created without the flag kCloningAllowed, when you try to call the method for them WblockCloneObjects () is an error code eNotAllowedForThisProxy returned. IMHO there are two alternative solutions:

1. Set Object Enabler for this Custom Object / Entity

2. Remove the proxy objects and explode the proxy entities 

Moderator
1,465 Posts
277 Kudos
Registered: ‎04-09-2008
Post 2 of 2

Re: WblockCloneObjects() returns eNotAllowedForThisProxy

02-22-2013 02:31 AM in reply to: chunyuran

chunyuran wrote:

WblockCloneObjects()  returns eNotAllowedForThisProxy.

Anybody know how to handle this? Thanks advance.


If the drawing contains proxy-object/entity that was created without the flag kCloningAllowed, when you try to call the method for them WblockCloneObjects () is an error code eNotAllowedForThisProxy returned. IMHO there are two alternative solutions:

1. Set Object Enabler for this Custom Object / Entity

2. Remove the proxy objects and explode the proxy entities 


Пожалуйста не забывайте про Утвердить в качестве решения! Утвердить в качестве решения и Give Kudos!Баллы
Please remember to Accept Solution! Accept as Solution and Give Kudos!Kudos

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!