Realtime spline creation

Um how did you get the create event to allow add spline mesh… I tried to call it as construct create event but it error red me out saying that it cant be here. as it wont compile but yet when i use it on blueprint default construct event it let me do it ?