Notifications
Clear all

[Closed] getVert, getFaceCenter not working

My syntax is obviously busted. I made a sphere and converted to editable_poly to mess around on.


$.getNumFaces()
512

$.getFaceCenter 5
-- Unknown property: "getFaceCenter" in $Editable_Poly:Sphere @ [68.057495,101.637207,0.000000]

$.getVert 5
-- Unknown property: "getVert" in $Editable_Poly:Sphere @ [68.057495,101.637207,0.000000]

What have I missed?

2 Replies

polyop.getVert $ 5
polyop.getFaceCenter $ 5

getVert and getFaceCenter are not properties of the Editable_Poly class

Great! Thanks for that