Retopology modifier disable preprocess mesh option in MAXScript

Retopology modifier disable preprocess mesh option in MAXScript

M_J_ARSHAD
Explorer Explorer
1,329 Views
2 Replies
Message 1 of 3

Retopology modifier disable preprocess mesh option in MAXScript

M_J_ARSHAD
Explorer
Explorer

I've been writing a MaxScript to add retopology modifier with a click of a button with some setting and parameters changed. It used to work well in the older version of max (2022), but since the retopology tools have been updated with the new version of Max (2024), the retopology doesn't give me the results I want and seems to work well for me with the preprocess mesh option disabled. In the developer help page, there is no mention of the syntax for preprocess mesh. Help me here. This is the code btw. I tried retopo.preprocessmesh= false but doesn't work

Code:

local AdjCount = getNumFaces obj *6/100

local retopo = RetopologyComponent()
addModifier obj retopo
retopo.engineType = 0 -- reform
retopo.numFacesTarget= AdjCount
retopo.reformRegularize= 1
retopo.reformAdaptivity= 1
retopo.hardEdgesFromSpecifiedAngle= true
retopo.hardEdgeSpecifiedAngle= 30
retopo.ComputeRetopology()

 

0 Likes
Accepted solutions (1)
1,330 Views
2 Replies
Replies (2)
Message 2 of 3

dmitriy.shpilevoy
Collaborator
Collaborator
Accepted solution

.doAutomatedRemesh = false

0 Likes
Message 3 of 3

M_J_ARSHAD
Explorer
Explorer

Thanks so much man. Much appreciated

 

0 Likes