Programming xData

If you develop your own plugins or the LISP programming, then you can read all the data i use in my plugin, displayed plug-in NAMES. They are stored in xData (extended object data) of solid, table or other objects.
The source code for C # can be found in the plugin folder in the file xData_Source.7z

xData AVCNames

Extended properties of solid. You can edit it.
• Field 0, Application Name = AVCNames
• Field 1, Type AsciiString = 1000, value: Name, LAY substitution %n%
• Field 2, Type Integer32 = 1071, value: Flags, LAY substitutions %s%, %m% and %texture%
• Field 3 Type AsciiString = 1000, value: Kind,  LAY substitution %k%
• Field 4 Type AsciiString = 1000, value:  Info, LAY substitution %i%

Used flags:

enum SolidFlags
  {
    None = 0,
    Sweep = 1, // For Solid – measure like sweep
    Mirror = 2, // To count the number of identical parts - considered separately as mirror
    InBlock = 4 // For Smart Leader - look in the blocks
    Textured = 8, // For Solid - is the direction of the fibers, texture
    Across = 16 // For Solid - texture from side to side (on the short side)
  }

xData AVCMetric

Metric of solid. Read only.
• Field 0 Application Name = AVCMetric
• Field 1 Type Integer32 = 1071, Value: Number of changes of solid at the time of metric record - if not the same as Solid3d.NumChanges - means the metric is outdated.
• Field 2 Type Real = 1040, Value: Length, LAY substitution %w%
• Field 3 Type Real = 1040, Value: Width = %h%
• Field 4 Type Real = 1040, Value: Thickness = %d%
• Field 5 Type Real = 1040, Value: Volume = %v%
• Field 6 Type Real = 1040, Value: Asymmetry = %a%
• Field 7 Type AsciiString = 1000, Value: Asymmetry vector (3 characters or an empty string), %asymv%
• Field 8 Type AsciiString = 1000, Value: Technology = %tech%
• Field 9 Type Integer32 = 1071, Value: flags Reserved for future applications
• Field 10 Type Real = 1040, Value: Area = %ar%
• Field 11 Type Real = 1040, Value: Perimeter = %p%
• Field 12 Type Integer32 = 1071, Value: FaceCount = %fc%

xData AVCTbSplit

Used in TableSplit command
• Field 0 Application Name = AVCTbSplit
• Field 1 Type AsciiString = 1000, Value: GUID of splited table like string.
• Field 2 Type Integer32 = 1071, Value: part number (sheet) of splited table
Comments