brandalf_the_semiGray Posted February 14, 2020 Share Posted February 14, 2020 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? Quote Link to comment Share on other sites More sharing options...
brandalf_the_semiGray Posted February 14, 2020 Author Share Posted February 14, 2020 I managed to get my field expression inserted. However the value for the field is just #### for all of my nested fields. I can click on the individual fields to view that field expression. It looks like all of them are populated properly. Any tips? Quote Link to comment Share on other sites More sharing options...
dlanorh Posted February 14, 2020 Share Posted February 14, 2020 What is sysvar FIELDEVAL set to? Also have you tried REGENALL (vlax-invoke doc 'regenall) where doc is your document object Quote Link to comment Share on other sites More sharing options...
brandalf_the_semiGray Posted February 14, 2020 Author Share Posted February 14, 2020 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! Quote Link to comment Share on other sites More sharing options...
ammobake Posted February 15, 2020 Share Posted February 15, 2020 Out of curiosity, do field expressions work in sheet set manager also? That would be sweet as hell, if so. Happy Friday everyone! -ChriS Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.