# xavier hodges

xavier_h

Expertise
Not Specified
Location
Not Specified
Website

## Recent Forum Posts

#### @P vs Point() problemMarch 8, 2018, 10:03 p.m.

Thank you tamte and vusta. I understand now.

#### @P vs Point() problemMarch 8, 2018, 7:49 p.m.

If that's the case, then why does

vector vec = set(1,1,1);
@P = @P+vec;
@P = @P-vec;

work the same way as the original

vector vec = set(1,1,1);
@P += vec;
@P -= vec;

yet acts different than

vector vec = set(1,1,1);
@P = point(0, “P”, @ptnum)+vec;
@P = point(0, “P”, @ptnum)-vec;

don't @P and point(0, “P”, @ptnum) do the same thing?

#### @P vs Point() problemMarch 8, 2018, 4:06 p.m.

I'm trying to transform some points in a point wrangle and

vector vec = set(1,1,1);
@P += vec;
@P -= vec;

returns points to their starting position as expected, but

vector vec = set(1,1,1);
@P = point(0, “P”, @ptnum)+vec;
@P = point(0, “P”, @ptnum)-vec;

gives different results, as if the first transform didn't do anything.
why are the results different? am I using point() wrong? sorry if this is too common a question.