Catalysis of the reaction: S-adenosyl-L-methionine + cycloartenol = (24R)-24-methylcycloart-25-en-3beta-ol + S-adenosyl-L-homocysteine + H+.
S-adenosyl-L-methionine:cycloartenol 24-C-methyltransferase activity