Jump to content
Developer Wiki and Function Reference Links ×

Marionette wrap is corrupting after copy to another file


Magi

Recommended Posts

Hi All, 

Since the local authorities require an additional protection zone for each of the existing plant object, I made a Marionette script to help Vectorowrks users. This is attached file: test-J Kowalska_GOOD.vwx .  Script works and after wraping it is bahaving correctly - the purpose is to draw an additional circle area of 1,5 m protection zone around each tree. 

The script is very simple. Is takes the data from the worksheets and draws the additional circle around the center set by the coordinates.

 

The problem is with transferring this marionette wrap to the other files. What is an essential issue here.

Here is an example: Drzewa_Spiska_WRONG.vwx 

Script creates the required elements, neverthless in the WRONG location. Coordinates are corrupted, and the objects are displaced more or less 2x for the both coordinates.

I'm not able to fix the problem. Can you help me?

 

Magi

test-J Kowalska_GOOD.vwx Drzewa_Spiska_WRONG.vwx

Link to comment
  • Marionette Maven

Something is wrong with your network, the value you're getting with the scientific representation means it's not getting the right value...

Can you attach that file?

 

There's currently not a direct node that converts strings to a number in the default library because there can be different number formats in strings, for example if a user has feet & inches for their document units then the input will need to be treated differently than a user with meters for their units.

Link to comment

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.   Restore formatting

  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...