.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Refresh object with Overruled.WorldDraw

2 REPLIES 2
Reply
Message 1 of 3
pva75
459 Views, 2 Replies

Refresh object with Overruled.WorldDraw

I have object with overruled WorldDraw.

In this method I draw some information about object.

Next I change some properties of this object and have to refresh information.

 

If I call editor.Regen() it works but performance is not good.

Editor.UpdateScreen() is not enouht.

 

Can I update overruled only for one object not for all scheme?

 

Thanks,

Pavel

2 REPLIES 2
Message 2 of 3
Hallex
in reply to: pva75

Take a look at this thread:

http://forums.autodesk.com/t5/NET/Overrule-a-specific-subentity-in-block-and-not-showing-the-Base/td...

this one is might be useful for you

 

~'J'~

_____________________________________
C6309D9E0751D165D0934D0621DFF27919
Message 3 of 3
pva75
in reply to: Hallex

Works as:

 

publicstaticvoid RefreshObject(Entityobj)

{

  if(!obj.Visible)

      return;

 

  if(!obj.IsWriteEnabled)

         obj.UpgradeOpen();

   

     obj.Visible = false;

     obj.Visible = true;

}

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost