Jump to content
brandalf_the_semiGray

Adding fields to attributes VLA

Recommended Posts

brandalf_the_semiGray

I need help adding a field to an attribute using VLA. I've been looking through Lee Mac's copyField code, and have tried taking the pieces that put the field into the object but all I get is a string of text. It doesn't appear to even be the full string that represents my field either. 

 

How can I insert a field to an attribute?

 

Share this post


Link to post
Share on other sites
brandalf_the_semiGray

I managed to get my field expression inserted. However the value for the field is just #### for all of my nested fields. 

image.thumb.png.cc006d9db72b2c5211f4b2bce70399de.png

 

I can click on the individual fields to view that field expression. It looks like all of them are populated properly. Any tips?

 

Share this post


Link to post
Share on other sites
dlanorh

What is sysvar FIELDEVAL set to? Also have you tried REGENALL (vlax-invoke doc 'regenall) where doc is your document object

Share this post


Link to post
Share on other sites
brandalf_the_semiGray
1 hour ago, dlanorh said:

What is sysvar FIELDEVAL set to? Also have you tried REGENALL (vlax-invoke doc 'regenall) where doc is your document object

 

I figured it out by referencing a field expression i built manually that was the same thing i wanted. Thank you though!

Share this post


Link to post
Share on other sites
ammobake

Out of curiosity, do field expressions work in sheet set manager also?  That would be sweet as hell, if so.

Happy Friday everyone!

 

-ChriS

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...