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

Accessing fields via .net

6 REPLIES 6
Reply
Message 1 of 7
perry59
527 Views, 6 Replies

Accessing fields via .net

Is there some way to get a Field object?
Specifically I'm hoping it has an update method that I can call.
I ask because I've taken the VB sheetsets code from the AU course cp215-2 (filling the gaps in the sheet manager)
and have put it into VB.net. After a little tweeking it works except for one thing...
at one point the code writes some fields out in order to read back the string after the SSM has updated
the field codes. This works ok in the COM code, but doesnt work in NET. I can write the fields out fine
but they dont automatically update like in the COM version, so reading them back in does no good.
I need to write out the fields and do update to them before reading back the value.

Any pointers?

Thanks
6 REPLIES 6
Message 2 of 7
perry59
in reply to: perry59

No can do?
Message 3 of 7
perry59
in reply to: perry59

Well, I see what the problem is. "Field" is not defined in Acad 2006 .net even though the objects exist.
I was able to get references to "Field" objects on machines with Acad 2007 and later.
Anyone aware of some kinda workaround for this?
Message 4 of 7
perry59
in reply to: perry59

So nobody messes with fields?
Message 5 of 7
Anonymous
in reply to: perry59

Look at this post
http://through-the-interface.typepad.com/through_the_interface/2007/07/accessing-the-a.html

"perry59" schrieb im Newsbeitrag news:6336247@discussion.autodesk.com...
> So nobody messes with fields?
Message 6 of 7
perry59
in reply to: perry59

Yes, I did see that. It was very helpful, but unfortunately does not work
on our 2006 (stoneage) machines.

Thanks
Message 7 of 7
perry59
in reply to: perry59

Perhaps through ARX, or pInvoke or some other esoteric method?

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